chore(deps): update dependency jest-preset-angular to v12
This MR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
jest-preset-angular (source) | devDependencies | major | ^11.1.2 -> ^12.0.0 |
Release Notes
thymikee/jest-preset-angular
v12.2.2
Bug Fixes
v12.2.1
Bug Fixes
v12.2.0
Bug Fixes
Features
- add
global-setup.mjs
to use with Jest ESM mode (#1661) (97a0ec8) - allow configuring options
TestEnvironmentOptions
for setup test env (#1657) (a64a4ac), closes #1656
v12.1.0
Features
- allow passing the
teardown
object toglobal-setup
(#1475) (3dab02b) - support Angular 14 (#1611) (7c294d7), closes #1410
12.0.1 (2022-05-14)
Features
- allow configuring
destroyAfterEach
viaglobalThis
for setup test env (#1469) (9a735f9), closes #1466
v12.0.1
Features
- allow configuring
destroyAfterEach
viaglobalThis
for setup test env (#1469) (9a735f9), closes #1466
v12.0.0
Bug Fixes
- add missing
jest
andtypescript
to peer deps (#1442) (6a652af), closes #1441 - set range supported version for Angular peer deps (#1449) (f3e97d7)
Features
-
config: add
setup-jest.mjs
for ESM mode (#1463) (cc6ce3f) - add an option to configure which file processed by
esbuild
(#1455) (b58d089), closes #1413 #1437 - drop support Node 12 (04195d5)
- exclude
ng-jest-resolver
from default/esm presets (#1440) (56673c4) - remove
reflect-metadata
insetup-jest
(#1428) (5a36729) - remove
zone-patch
and its fallback (#1427) (bf9ea44) - allow running
ngcc
with specifictsconfig
path (#1418) (5f535b5), closes #1348 - allow skip
ngcc
viaskipNgcc
option viaglobalThis
(#1417) (7950b5c), closes #1396 - remove
ngcc-jest-processor
entry file (#1414) (2c5fd20)
BREAKING CHANGES
- Since Angular 11, the minimum version of
zone.js
is 0.11.x and Angular 10 is EOL, so now we can use zone patch directly fromzone.js
. If one is not usingzone.js@0.11.x
, please upgrade. - Now we are using Angular AST transformers,
reflect-metadata
is not needed anymore. -
Jest 28 correctly resolves Angular package format files so the
ng-jest-resolver
is now optional. - Node 12 is no longer support
- Previously, we always checked file extension
.mjs
and any files fromnode_modules
excludingtslib
to be processed withesbuild
. With the new optionprocessWithEsbuild
, now we put default all.mjs
files to be processed byesbuild
. Files likelodash-es
default isn't processed byesbuild
. If you wish to useesbuild
to process such files, please configure in your Jest config like
// jest.config.js
module.exports = {
//...
globals: {
ngJest: {
processWithEsbuild: ['**/node_modules/lodash-es/*.js],
}
}
}
- Angular 10 is no longer support
- Require Jest 28
-
ngcc-jest-processor
entry file is now removed. One should usejest-preset-angular/global-setup
instead.
11.1.2 (2022-04-24)
Bug Fixes
11.1.1 (2022-02-11)
Performance Improvements
Configuration
-
If you want to rebase/retry this MR, click this checkbox.
This MR has been generated by Renovate Bot.
Edited by Renovate-Bot
Merge request reports
Activity
Please register or sign in to reply