New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Angular9: Jest + Ivy without Zone (noNgZone). #354
Comments
Hey! No, we just got into the first compatibility issues with Angular 9, so there's no work done on this field so far. |
Removing the zone imports will raise an Some interesting findings:
|
I remember I tried this before, with Angular 8 or lower I also got some similar errors so I gave up about excluding zone. Angular looks like tightly coupled with zone |
@x47188 but if I interpret the issue right, you do have an app that runs without zone.js and you want to achieve the same in jsdom for jest, is that the case? |
Absolutely.
Very appreciated! However I fear the current |
Do your zoneless tests run in Karma? |
@wtho good question, I'll create a "repro" to verify that. (I've striped karma & co from my current code-base) |
Thanks, if you could also share it, that would be awesome! |
I think this depends on the development from Angular to work without zone, which is currently in roadmap https://angular.io/guide/roadmap#leverage-full-framework-capabilities-with-zonejs-opt-out |
Hey 馃檶
I was wondering if there was any documented way to run Angular 9 + Jest without zone.js ( setupJest.ts heavily relies on Zone)?
The text was updated successfully, but these errors were encountered: