-
Notifications
You must be signed in to change notification settings - Fork 27k
Closed
Labels
area: testingIssues related to Angular testing features, such as TestBedIssues related to Angular testing features, such as TestBedarea: zonesIssues related to zone.jsIssues related to zone.jsstate: has PR
Milestone
Description
Which @angular/* package(s) are the source of the bug?
zone.js
Is this a regression?
No
Description
Original reported here thymikee/jest-preset-angular#2672
Quoted by issue author:
It looks like this issue is caused by Zone.js not supporting the modifier. This is supported by the fact that the test suite runs as expected when commenting out require('zone.js/testing') in jest-preset-angular/setup-jest.js.
Please provide a link to a minimal reproduction of the bug
https://github.com/marcelhohn/jest-playground
Please provide the exception or error you saw
TypeError: it.failing is not a function .
Please provide the environment you discovered this bug in (run ng version)
Angular CLI: 18.1.3
Node: 22.5.1
Package Manager: yarn 4.4.0
OS: darwin arm64
Angular: 18.1.3
... animations, cli, common, compiler, compiler-cli, core, forms
... platform-browser, platform-browser-dynamic, router
Package Version
---------------------------------------------------------
@angular-devkit/architect 0.1801.3
@angular-devkit/build-angular 18.1.3
@angular-devkit/core 18.1.3
@angular-devkit/schematics 18.1.3
@schematics/angular 18.1.3
rxjs 7.8.1
typescript 5.5.4
zone.js 0.14.10
Anything else?
Please check full details at thymikee/jest-preset-angular#2672
Metadata
Metadata
Assignees
Labels
area: testingIssues related to Angular testing features, such as TestBedIssues related to Angular testing features, such as TestBedarea: zonesIssues related to zone.jsIssues related to zone.jsstate: has PR