Skip to content

chore(deps): update dependency jest-preset-angular to v12

Renovate-Bot requested to merge renovate/jest-preset-angular-12.x into V2.0

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

Compare Source

Bug Fixes

v12.2.1

Compare Source

Bug Fixes

v12.2.0

Compare Source

Bug Fixes
Features

v12.1.0

Compare Source

Features

12.0.1 (2022-05-14)

Features

v12.0.1

Compare Source

Features

v12.0.0

Compare Source

Bug Fixes
Features

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 from zone.js. If one is not using zone.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 from node_modules excluding tslib to be processed with esbuild. With the new option processWithEsbuild, now we put default all .mjs files to be processed by esbuild. Files like lodash-es default isn't processed by esbuild. If you wish to use esbuild 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 use jest-preset-angular/global-setup instead.

11.1.2 (2022-04-24)

Bug Fixes
  • correct deprecation message of ngcc-jest-processor (3899abf), closes #​1411

11.1.1 (2022-02-11)

Performance Improvements

Configuration

📅 Schedule: At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever MR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this MR and you won't be reminded about this update again.


  • 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