4181 Commits
Author SHA1 Message Date
Jon KoopsandGitHub 2de0835a21 fix(jest-runtime, @jest/transform): improve ESM error handling on Node < 24.9 (#16244) 2026-06-24 11:33:09 +02:00
Shaurya SinghandGitHub f51db281ed fix(jest-mock): remove leftover own accessor when restoring spyOn of an inherited getter/setter (#16226) 2026-06-21 14:25:13 +02:00
tsushanthandGitHub a5cab18535 fix(jest-mock): walk overloads in ResolveType/RejectType (#16237) 2026-06-21 14:13:06 +02:00
Simen BekkhusandGitHub df62fb2e1b chore: update yarn & refresh lockfiles (#16251) 2026-06-21 13:50:36 +02:00
renovate[bot]andGitHub 7f8a057091 chore(deps): update babel monorepo to v8.0.0-rc.5 (#16172) 2026-05-19 14:29:15 +02:00
Shaurya SinghandGitHub a5521d3c85 fix(expect): accept class instances in toMatchObject and objectContaining (#16196) 2026-05-19 11:20:45 +02:00
JounQinandGitHub c393ea3d4c chore: bump unrs-resolver to 1.12.1, remove jest-pnp-resolver and unnecessary checks (#15721) 2026-05-19 08:24:24 +02:00
Simen BekkhusandGitHub a9e8764dd2 chore(haste-map): replace walker and hand-rolled traversal with fdir (#16187) 2026-05-16 19:25:45 +02:00
Simen BekkhusandGitHub eea4f9d5fd Revert "feat(haste-map): add haste.backend option (#16184)" (#16186) 2026-05-16 09:54:46 +02:00
Simen BekkhusandGitHub c9d5ec84ef feat(haste-map): add haste.backend option (#16184) 2026-05-16 07:59:18 +02:00
Simen BekkhusandGitHub 22f6ee7823 chore: type file watchers explicitly in haste-map (#16183) 2026-05-15 12:50:43 +02:00
Simen Bekkhus 95828e8427 chore: fix lint errors 2026-05-15 12:49:55 +02:00
Simen BekkhusandGitHub 256904f238 chore: refresh coding agent instructions (#16182)
Also add specific instructions to many packages
2026-05-15 12:18:31 +02:00
addd801b96 feat(jest-mock): add mock.whenCalledWith(...) (#16053)
Co-authored-by: Tim Seckinger <[email protected]>
2026-05-15 10:31:42 +02:00
Simen BekkhusandGitHub 74fe146001 chore(haste-map): refactor massive class into multiple files (#16180) 2026-05-15 09:37:55 +02:00
Juraj MuranskyandGitHub 411c6a666d fix: Support older test environments whose moduleMocker does not implement clearMocksOnScope (#16169) 2026-05-12 13:37:21 +02:00
Jon DufresneandGitHub 95aef0a9bd Make @types/jsdom a peer dependency of jest-environment-jsdom-abstract (#16166) 2026-05-12 13:16:37 +02:00
Jonathan ZawadaandGitHub 2adfa48981 fix(expect): revert node: protocol imports to restore webpack/browser compatibility (#16167) 2026-05-12 10:19:33 +02:00
Simen BekkhusandGitHub a67f66f3a1 fix(jest-runtime): fall back to native ESM when a .js file contains ESM syntax (#16152) 2026-05-11 15:14:13 +02:00
Simen BekkhusandGitHub 68d539d109 chore(runtime): avoid magical null value (#16160)
* chore(runtime): avoid magical `null` value

* changelog

* review comments

* another fix

* constant

* sorted

* ah, not here
2026-05-11 09:41:58 +02:00
Simen Bekkhus 2405b54bac v30.4.2 2026-05-09 02:30:59 +02:00
Simen BekkhusandGitHub d652e19b7a fix(jest-runtime): handle function module.exports for CJS-from-ESM named exports (#16150) 2026-05-09 02:26:29 +02:00
Simen Bekkhus 44a5d318ba v30.4.1 2026-05-08 10:34:36 +02:00
Simen BekkhusandGitHub 7f48cd3108 fix(jest-runtime): align CJS-from-ESM default with Node, drop __esModule unwrapping (#16143) 2026-05-08 10:10:16 +02:00
AhnandGitHub 885f2e6dc0 feat: allow custom runner configuration options (tuple format) (#16141) 2026-05-08 09:13:38 +02:00
Simen Bekkhus 9b491eaee4 v30.4.0 2026-05-07 20:41:24 +02:00
AhnandGitHub 5dd2578b7c fix: make coverage work when using projects option (#16140) 2026-05-07 19:02:52 +02:00
AhnandGitHub 46bfe2fad4 fix(jest-reporters): apply global coverage threshold to unmatched pattern files (#16137) 2026-05-07 12:58:55 +02:00
Simen BekkhusandGitHub 63c55d4cf5 feat(fake-timers): support mocking Temporal.Now time (#16131) 2026-05-07 10:44:00 +02:00
Simen BekkhusandGitHub ff266eef2e chore: update @sinonjs/fake-timers (#16139) 2026-05-07 09:07:26 +02:00
7cdbe0df52 chore: use async-await in coverage reporter tests (#16138)
Co-Authored-By: ahnpnl <[email protected]>
2026-05-07 08:33:05 +02:00
Suyeon KimandGitHub eb251c36c2 fix(jest-runtime): apply moduleNameMapper to require.resolve paths (#16135) 2026-05-06 19:08:47 +02:00
Simen BekkhusandGitHub e3e86ecb87 fix: support silent and verbose as project config (#16133) 2026-05-06 16:23:22 +02:00
Simen BekkhusandGitHub 60b1e4de72 fix: allow collectCoverage and coverageProvider in project config (#16132) 2026-05-06 10:57:21 +02:00
Simen BekkhusandGitHub ab2a0850cf fix(runtime): resolve expect and @jest/expect from the internal module registry (#16130) 2026-05-06 09:23:25 +02:00
Michael HughesandGitHub 2835bdae5d fix(expect-utils): iterableEquality should not throw on exotic iterables (#15952) 2026-05-05 20:34:23 +02:00
Simen BekkhusandGitHub 46aae5ddee feat(fake-timers): basic support for Temporal (#16128) 2026-05-05 20:33:43 +02:00
Simen BekkhusandGitHub 788b8d7940 feat: support import attributes (#16127) 2026-05-05 18:47:54 +02:00
367a2d804d fix(jest-config): fix preset path resolution on Windows (#15961)
Co-authored-by: umeshmore45 <[email protected]>
2026-05-05 16:41:21 +02:00
Simen BekkhusandGitHub b72a738d8f feat(pretty-format): support React 19 (#16123) 2026-05-05 11:41:24 +02:00
Jon WatsonandGitHub 4f26e57417 feat: add workerGracefulExitTimeout config option (#15984) 2026-05-05 11:06:34 +02:00
Manthan ZimanandGitHub 0be53522b7 Support jest.config.mts (#16005) 2026-05-04 09:55:40 +02:00
Simen BekkhusandGitHub 556350d16d chore: update @prettier/sync (#16095) 2026-05-04 09:35:47 +02:00
renovate[bot]GitHubrenovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
a7ae9ad08c chore(deps): update dependency diff to v9 (#16072)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-05-04 08:25:55 +02:00
Simen BekkhusandGitHub 6771c16828 chore(runtime): final pass for splitting up god class (#16088) 2026-05-03 14:58:10 +02:00
Simen BekkhusandGitHub e89f7c8e13 chore: add node 25 to CI (#15908) 2026-05-03 13:08:14 +02:00
Simen BekkhusandGitHub b74c4177ab chore(runtime): lift jest object and globals handler (#16087) 2026-05-03 12:23:44 +02:00
Simen BekkhusandGitHub 9b49f480ab chore(runtime): extract ESM loader (#16085) 2026-05-03 10:47:01 +02:00
Simen BekkhusandGitHub 8d3edd8ed7 fix(node-env): do not warn on localStorage unless actually accessed (#16086) 2026-05-03 09:58:48 +02:00
Simen BekkhusandGitHub a579f4d8d9 chore(runtime): lift module executor (#16084) 2026-05-02 23:12:14 +02:00