diff --git a/CHANGELOG.md b/CHANGELOG.md index 139d448d7d..5cdab796f7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -22,7 +22,7 @@ Please use "setupZoneTestEnv" function instead. Example: For CJS ``` // setup-jest.ts -import { setupZoneTestEnv } from 'jest-preset-angular/setup-env'; +import { setupZoneTestEnv } from 'jest-preset-angular/setup-env/zone'; setupZoneTestEnv(); ``` @@ -30,11 +30,13 @@ setupZoneTestEnv(); For ESM ``` // setup-jest.ts -import { setupZoneTestEnv } from 'jest-preset-angular/setup-env/index.mjs'; +import { setupZoneTestEnv } from 'jest-preset-angular/setup-env/zone/index.mjs'; setupZoneTestEnv(); ``` +See more at https://thymikee.github.io/jest-preset-angular/docs/getting-started/test-environment + ## [14.2.4](https://github.com/thymikee/jest-preset-angular/compare/v14.2.3...v14.2.4) (2024-09-12)