-
Notifications
You must be signed in to change notification settings - Fork 308
Open
Description
π Feature Proposal
It looks like currently JIT compiler is hardcoded:
https://github.com/thymikee/jest-preset-angular/blob/main/src/compiler/ng-jest-compiler.ts#L63
I would be nice if we could use Jest with Angular AOT.
Motivation
JIT is barely ever used for years and is a very obscure mode that can cause issues that do not occur in real apps. AOT has been the default for nearly 10 major versions. Using AOT in Jest would improve testing environment by bringing it closer to the real life.
Example
No response
splincode, nsbarsukov, crisbeto, pumano, chihab and 2 more
Metadata
Metadata
Assignees
Labels
No labels