René's URL Explorer Experiment


Title: zone.js fails to patch mocha v8.3.1 and up · Issue #42834 · angular/angular · GitHub

Open Graph Title: zone.js fails to patch mocha v8.3.1 and up · Issue #42834 · angular/angular

X Title: zone.js fails to patch mocha v8.3.1 and up · Issue #42834 · angular/angular

Description: Which @angular/* package(s) are the source of the bug? Don't known / other Is this a regression? No Description I've created a fresh Angular 12 project with the CLI, refactored tests to use Mocha instead of Jasmine and the tests failed. ...

Open Graph Description: Which @angular/* package(s) are the source of the bug? Don't known / other Is this a regression? No Description I've created a fresh Angular 12 project with the CLI, refactored tests to use Mocha i...

X Description: Which @angular/* package(s) are the source of the bug? Don't known / other Is this a regression? No Description I've created a fresh Angular 12 project with the CLI, refactored tests to use...

Opengraph URL: https://github.com/angular/angular/issues/42834

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"zone.js fails to patch mocha v8.3.1 and up","articleBody":"### Which @angular/* package(s) are the source of the bug?\r\n\r\nDon't known / other\r\n\r\n### Is this a regression?\r\n\r\nNo\r\n\r\n### Description\r\n\r\nI've created a fresh Angular 12 project with the CLI, refactored tests to use Mocha instead of Jasmine and the tests failed.\r\n\r\n- Clone the repo and run `npm test` - everything will work fine\r\n- Open `package.json` and set the `mocha` dependency to `8.3.1` or higher, then run `npm test` again\r\n- You'll now get the exception below.\r\n\r\n### Please provide a link to a minimal reproduction of the bug\r\n\r\nhttps://github.com/Alorel/zone.js-mocha-patch-bug-reproduction\r\n\r\n### Please provide the exception or error you saw\r\n\r\n```\r\nRangeError: Maximum call stack size exceeded\r\n      at wrapTestInZone (http://localhost:9876/_karma_webpack_/webpack:/node_modules/zone.js/fesm2015/zone-testing.js:1024:1)\r\n      at global.beforeEach.global.setup.Mocha.beforeEach (http://localhost:9876/_karma_webpack_/webpack:/node_modules/zone.js/fesm2015/zone-testing.js:1077:1)\r\n      at exports.beforeEach (node_modules/mocha/mocha.js:28402:65)\r\n      at global.beforeEach.global.setup.Mocha.beforeEach (http://localhost:9876/_karma_webpack_/webpack:/node_modules/zone.js/fesm2015/zone-testing.js:1077:1)\r\n      at exports.beforeEach (node_modules/mocha/mocha.js:28402:65)\r\n      at global.beforeEach.global.setup.Mocha.beforeEach (http://localhost:9876/_karma_webpack_/webpack:/node_modules/zone.js/fesm2015/zone-testing.js:1077:1)\r\n      at exports.beforeEach (node_modules/mocha/mocha.js:28402:65)\r\n      at global.beforeEach.global.setup.Mocha.beforeEach (http://localhost:9876/_karma_webpack_/webpack:/node_modules/zone.js/fesm2015/zone-testing.js:1077:1)\r\n      at exports.beforeEach (node_modules/mocha/mocha.js:28402:65)\r\n      at global.beforeEach.global.setup.Mocha.beforeEach (http://localhost:9876/_karma_webpack_/webpack:/node_modules/zone.js/fesm2015/zone-testing.js:1077:1)\r\n```\r\n\r\n### Please provide the environment you discovered this bug in\r\n\r\n```\r\nAngular CLI: 12.1.1\r\nNode: 14.16.1\r\nPackage Manager: npm 7.11.2\r\nOS: linux x64\r\n\r\nAngular: 12.1.1\r\n... animations, cli, common, compiler, compiler-cli, core, forms\r\n... platform-browser, platform-browser-dynamic, router\r\n\r\nPackage                         Version\r\n---------------------------------------------------------\r\n@angular-devkit/architect       0.1201.1\r\n@angular-devkit/build-angular   12.1.1\r\n@angular-devkit/core            12.1.1\r\n@angular-devkit/schematics      12.1.1\r\n@schematics/angular             12.1.1\r\nrxjs                            6.6.7\r\ntypescript                      4.3.5\r\n```\r\n\r\n\r\n### Anything else?\r\n\r\nThe `zone.js` version is `0.11.4`. The same happens on Angular 11 and zone `0.11.3`","author":{"url":"https://github.com/Alorel","@type":"Person","name":"Alorel"},"datePublished":"2021-07-13T10:50:40Z","url":"https://github.com/angular/angular/issues/42834"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:70882848-b6f8-fb38-86f5-f0c31fc9ed82
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idC290:26ECEB:F538C4:13AE921:6B00FCC1
html-safe-nonceadb793a33367066b455feee1910eec673c89bb1b269bdff373416cca650590f8
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMjkwOjI2RUNFQjpGNTM4QzQ6MTNBRTkyMTo2QjAwRkNDMSIsInZpc2l0b3JfaWQiOiI3ODAwMTA1NTYxMzUzMTU3ODI1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac2788bc54952afb852ec52e0cc540ebaa3738c60b61b2bc2c815b4fa7fa525190
hovercard-subject-tagissue:943169539
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/angular/angular/42834/issue_layout
twitter:imagehttps://opengraph.githubassets.com/de14164f8632a3c3582db346e8a6b25108f124dbcfb900eaf1cd14fe7875704f/angular/angular/issues/42834
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/de14164f8632a3c3582db346e8a6b25108f124dbcfb900eaf1cd14fe7875704f/angular/angular/issues/42834
og:image:altWhich @angular/* package(s) are the source of the bug? Don't known / other Is this a regression? No Description I've created a fresh Angular 12 project with the CLI, refactored tests to use Mocha i...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameAlorel
hostnamegithub.com
expected-hostnamegithub.com
Nonee208d86428ec00a57ade75058166297440e8128a01e5287c31a53dc042bbf187
turbo-cache-controlno-preview
go-importgithub.com/angular/angular git https://github.com/angular/angular.git
octolytics-dimension-user_id139426
octolytics-dimension-user_loginangular
octolytics-dimension-repository_id24195339
octolytics-dimension-repository_nwoangular/angular
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id24195339
octolytics-dimension-repository_network_root_nwoangular/angular
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release7dafd017fb7809a839c443dba08622af38e63c09
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/angular/angular/issues/42834#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fangular%2Fangular%2Fissues%2F42834
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fangular%2Fangular%2Fissues%2F42834
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=angular%2Fangular
Reloadhttps://github.com/angular/angular/issues/42834
Reloadhttps://github.com/angular/angular/issues/42834
Reloadhttps://github.com/angular/angular/issues/42834
angularhttps://github.com/angular
angularhttps://github.com/angular/angular
Codehttps://github.com/angular/angular
Issues835 (835)https://github.com/angular/angular/issues
Pull requests141 (141)https://github.com/angular/angular/pulls
Discussionshttps://github.com/angular/angular/discussions
Actionshttps://github.com/angular/angular/actions
Projectshttps://github.com/angular/angular/projects
Security and quality40 (40)https://github.com/angular/angular/security
Insightshttps://github.com/angular/angular/insights
https://github.com/angular/angular
New issuehttps://github.com/login?return_to=https://github.com/angular/angular/issues/42834
New issuehttps://github.com/login?return_to=https://github.com/angular/angular/issues/42834
zone.js fails to patch mocha v8.3.1 and uphttps://github.com/angular/angular/issues/42834#top
https://github.com/JiaLiPassion
P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgenthttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22P3%22
area: zonesIssues related to zone.jshttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22area%3A%20zones%22
state: has PRhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22state%3A%20has%20PR%22
type: bug/fixhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22type%3A%20bug%2Ffix%22
Backloghttps://github.com/angular/angular/milestone/82
https://github.com/Alorel
Alorelhttps://github.com/Alorel
on Jul 13, 2021https://github.com/angular/angular/issues/42834#issue-943169539
https://github.com/Alorel/zone.js-mocha-patch-bug-reproductionhttps://github.com/Alorel/zone.js-mocha-patch-bug-reproduction
JoostKhttps://github.com/JoostK
area: zonesIssues related to zone.jshttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22area%3A%20zones%22
on Jul 13, 2021https://github.com/angular/angular/issues/42834#event-5013207021
ngbothttps://github.com/apps/ngbot
needsTriagehttps://github.com/angular/angular/milestone/83
on Jul 13, 2021https://github.com/angular/angular/issues/42834#event-5013207126
https://github.com/crfrolik
crfrolikhttps://github.com/crfrolik
on Oct 28, 2021https://github.com/angular/angular/issues/42834#issuecomment-954007064
mochajs/mocha#4660 (comment)https://github.com/mochajs/mocha/issues/4660#issuecomment-953988083
rictichttps://github.com/rictic
on Dec 13, 2021https://github.com/angular/angular/issues/42834#event-5760365646
Update angular and get it workinghttps://github.com/rictic/custom-elements-everywhere/commit/a285d24b4dce5a28f915aaf10f130ded7024dd13
a285d24https://github.com/rictic/custom-elements-everywhere/commit/a285d24b4dce5a28f915aaf10f130ded7024dd13
jessicajaniukhttps://github.com/jessicajaniuk
P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgenthttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22P3%22
on Dec 13, 2021https://github.com/angular/angular/issues/42834#event-5760476396
ngbothttps://github.com/apps/ngbot
needsTriagehttps://github.com/angular/angular/milestone/83
Backloghttps://github.com/angular/angular/milestone/82
on Dec 13, 2021https://github.com/angular/angular/issues/42834#event-5760476433
jessicajaniukhttps://github.com/jessicajaniuk
JiaLiPassionhttps://github.com/JiaLiPassion
on Dec 13, 2021https://github.com/angular/angular/issues/42834#event-5760476611
https://github.com/JiaLiPassion
JiaLiPassionhttps://github.com/JiaLiPassion
on Feb 9, 2022https://github.com/angular/angular/issues/42834#issuecomment-1033779845
@Alorelhttps://github.com/Alorel
JiaLiPassionhttps://github.com/JiaLiPassion
state: has PRhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22state%3A%20has%20PR%22
triage #1https://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22triage%20%231%22
type: bug/fixhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22type%3A%20bug%2Ffix%22
on Feb 11, 2022https://github.com/angular/angular/issues/42834#event-6048985423
alxhubhttps://github.com/alxhub
completedhttps://github.com/angular/angular/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
8efbdb5https://github.com/angular/angular/commit/8efbdb57c11a6c632f69d7e142a632b6a853fa46
on Feb 16, 2022https://github.com/angular/angular/issues/42834#event-6086061689
alxhubhttps://github.com/alxhub
on Feb 16, 2022https://github.com/angular/angular/issues/42834#event-6086061986
fix(zone.js): patch global instead of Mocha object (#45047)https://github.com/angular/angular/commit/2ec696a50fb5700744e4b5ea3f55248f7db6eb1b
#45047https://github.com/angular/angular/pull/45047
https://docs.github.com/articles/closing-issues-via-commit-messages
2ec696ahttps://github.com/angular/angular/commit/2ec696a50fb5700744e4b5ea3f55248f7db6eb1b
https://github.com/juergba
juergbahttps://github.com/juergba
on Feb 18, 2022https://github.com/angular/angular/issues/42834#issuecomment-1044809223
@JiaLiPassionhttps://github.com/JiaLiPassion
https://github.com/JiaLiPassion
JiaLiPassionhttps://github.com/JiaLiPassion
on Feb 18, 2022https://github.com/angular/angular/issues/42834#issuecomment-1045081656
@juergbahttps://github.com/juergba
https://github.com/reduckted
reducktedhttps://github.com/reduckted
on Mar 2, 2022https://github.com/angular/angular/issues/42834#issuecomment-1057472210
@JiaLiPassionhttps://github.com/JiaLiPassion
https://github.com/jackwagons
jackwagonshttps://github.com/jackwagons
on Mar 4, 2022https://github.com/angular/angular/issues/42834#issuecomment-1059289934
@reducktedhttps://github.com/reduckted
@juergbahttps://github.com/juergba
https://github.com/JiaLiPassion
JiaLiPassionhttps://github.com/JiaLiPassion
on Mar 5, 2022https://github.com/angular/angular/issues/42834#issuecomment-1059626269
@jackwagonshttps://github.com/jackwagons
https://github.com/reduckted
reducktedhttps://github.com/reduckted
on Mar 5, 2022https://github.com/angular/angular/issues/42834#issuecomment-1059657201
crapStonehttps://github.com/crapStone
on Mar 8, 2022https://github.com/angular/angular/issues/42834#event-6203992566
Update angular monorepo (#1197)https://github.com/Calciumdibromid/CaBr2/commit/745ec5dfec4fb99e7f8f32b1c7eedd9a5f415707
745ec5dhttps://github.com/Calciumdibromid/CaBr2/commit/745ec5dfec4fb99e7f8f32b1c7eedd9a5f415707
https://github.com/apps/angular-automatic-lock-bot
angular-automatic-lock-bothttps://github.com/apps/angular-automatic-lock-bot
on Apr 5, 2022https://github.com/angular/angular/issues/42834#issuecomment-1088945458
automatic conversation locking policyhttps://github.com/angular/angular/blob/8f24bc9443b3872fe095d9f7f77b308a361a13b4/docs/GITHUB_PROCESS.md#conversation-locking
angular-automatic-lock-bothttps://github.com/apps/angular-automatic-lock-bot
on Apr 5, 2022https://github.com/angular/angular/issues/42834#event-6372646966
Sign up for freehttps://github.com/signup?return_to=https://github.com/angular/angular/issues/42834
Sign in to commenthttps://github.com/login?return_to=https://github.com/angular/angular/issues/42834
JiaLiPassionhttps://github.com/JiaLiPassion
P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgenthttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22P3%22
area: zonesIssues related to zone.jshttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22area%3A%20zones%22
state: has PRhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22state%3A%20has%20PR%22
type: bug/fixhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22type%3A%20bug%2Ffix%22
BacklogNo due datehttps://github.com/angular/angular/milestone/82
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.