angular-builders icon indicating copy to clipboard operation
angular-builders copied to clipboard

Support Jest 30 🚀

Open qmonmert opened this issue 5 months ago • 3 comments

https://jestjs.io/blog/2025/06/04/jest-30

qmonmert avatar Jul 22 '25 21:07 qmonmert

https://jestjs.io/blog/2025/06/04/jest-30:

--testPathPattern was renamed to --testPathPatterns

Support --testPathPatterns is required for fixing running Jest 30 with angular in JetBrains IDEs.

Reproducing

Changing test-path-pattern to test-path-patterns produces error:

Error: Unknown argument: test-path-patterns
Image

Probable fix After updating to Jest 30, update parameter name in the schema.json.

DmitryMakhnev avatar Aug 26 '25 16:08 DmitryMakhnev

Jest 30 will be supported (and even more than that, required) with the next major release. It's not just about parameter names, it's also about breaking changes in jest-preset-angular, zoneless mode etc. See #1934 for details.

just-jeb avatar Aug 27 '25 16:08 just-jeb

Yes please.. 👍🏽 whenever I try to upgrade to use v30, I actually get:

├─┬ @angular-devkit/build-angular 20.3.3
│ └── ✕ unmet peer jest@^29.5.0: found 30.2.0
└─┬ @angular-builders/jest 20.0.0
  └─┬ jest-preset-angular 14.6.0
    └── ✕ unmet peer jest@^29.0.0: found 30.2.0

Simply because @angular-builders/jest only support v29 max.

Much love ❤️ , hopefully we soon see a new major release (November?).

melroy89 avatar Oct 01 '25 20:10 melroy89