-
Notifications
You must be signed in to change notification settings - Fork 309
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: deprecate
setup-jest.js
and setup-jest.mjs
DEPRECATION Importing `setup-jest.js`/`setup-jest.mjs` directly is deprecated. The files will be removed in the future. Please use "setupZoneTestEnv" function instead. Example: For CJS ``` // setup-jest.ts import { setupZoneTestEnv } from 'jest-preset-angular/setup-env'; setupZoneTestEnv(); ``` For ESM ``` // setup-jest.ts import { setupZoneTestEnv } from 'jest-preset-angular/setup-env/index.mjs'; setupZoneTestEnv(); ```
- Loading branch information
Showing
2 changed files
with
22 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters