chore(deps): update dependency jest-preset-angular to v12
-
Review changes -
-
Download -
Patches
-
Plain diff
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
Compare and
- version 240ddc6a43
- version 23215d8374
- version 22ffd24cb1
- version 21df7dd365
- version 20e36d180c
- version 192c435d06
- version 185f68fb0a
- version 177ebe1d1d
- version 16da99fb0d
- version 15a7fdf9de
- version 14333083d9
- version 134500f09e
- version 12d073d6e1
- version 1174c03423
- version 10a4f6e9b9
- version 94f8bb6b6
- version 832d5637c
- version 7b86554ad
- version 60ba50d46
- version 5c603face
- version 4a1723ac4
- version 36fec4f8c
- version 265ca138d
- version 1b578946d
- V2.0 (base)
- latest version30496bb51 commit,
- version 240ddc6a431 commit,
- version 23215d83741 commit,
- version 22ffd24cb11 commit,
- version 21df7dd3651 commit,
- version 20e36d180c1 commit,
- version 192c435d061 commit,
- version 185f68fb0a1 commit,
- version 177ebe1d1d1 commit,
- version 16da99fb0d1 commit,
- version 15a7fdf9de1 commit,
- version 14333083d91 commit,
- version 134500f09e1 commit,
- version 12d073d6e11 commit,
- version 1174c034231 commit,
- version 10a4f6e9b91 commit,
- version 94f8bb6b61 commit,
- version 832d5637c1 commit,
- version 7b86554ad1 commit,
- version 60ba50d461 commit,
- version 5c603face1 commit,
- version 4a1723ac41 commit,
- version 36fec4f8c1 commit,
- version 265ca138d1 commit,
- version 1b578946d1 commit,
2 files
+ 778
− 136
Compare changes
- Side-by-side
- Inline
Some changes are not shown
For a faster browsing experience, some files are collapsed by default.
Files
2+ 777
− 135
Files with large changes are collapsed by default.
Loading