You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[jest-transform] Support transpiled transformers (#11193)
[jest-transform] [BREAKING] requireAndTranspileModule always return a Promise, and the third parameter type is changed to RequireAndTranspileModuleOptions which accept applyInteropRequireDefault option (#11232)
[jest-transform] [BREAKING] createTranspilingRequire return function which return a Promise now (#11232)
[jest-util] add requireOrImportModule for importing CJS or ESM (#11199)
[jest-util] add applyInteropRequireDefault option on requireOrImportModule (#11232)
[jest-watcher] Added support for clearing the line when <C-u> is pressed in a watch mode pattern prompt (#11358)
[jest-worker] Add support for custom task queues and adds a PriorityQueue implementation. (#10921)
[jest-worker] Add in-order scheduling policy to jest worker (10902)
[pretty-format] Better print for sparse arrays (11326)
[pretty-print] Add option printBasicPrototype which determines whether or not the prototype should be printed for raw objects or arrays (#11441)
Fixes
[babel-plugin-jest-hoist] Add __dirname and __filename to whitelisted globals (#10903)
[expect] [BREAKING] Revise expect.not.objectContaining() to be the inverse of expect.objectContaining(), as documented. (#10708)
[expect] [BREAKING] Make toContain more strict with the received type (#10119 & #10929)
[expect] [BREAKING] matcherResult on JestAssertionError are now strings rather than functions (#10989)
[jest-circus] Fixed the issue of beforeAll & afterAll hooks getting executed even if it is inside a skipped describe block #10451
[jest-circus] Fix testLocation on Windows when using test.each (#10871)
[jest-cli] Use testFailureExitCode when bailing from a failed test (#10958)
[jest-cli] Print custom error if error thrown from global hooks is not an error already (#11003)
[jest-cli] Allow running multiple "projects" from programmatic API (#11307)
[jest-cli] Fix missing collectCoverage after init (#11353)
[jest-cli, jest-config, jest-types] Move all default values into jest-config (#9924)
[jest-config] [BREAKING] Change default file extension order by moving json behind ts and tsx (10572)
[jest-console]console.dir now respects the second argument correctly (#10638)
[jest-core] Don't report PerformanceObserver as open handle (#11123)
[jest-core] Use WeakRef to hold timers when detecting open handles (#11277)
[jest-core] Correctly detect open handles that were created in test functions using done callbacks (#11382)
[jest-core] Do not collect RANDOMBYTESREQUEST as open handles (#11278)
[jest-core] Wait briefly for open handles to close before flagging them when using --detectOpenHandles (#11429)
[jest-diff] [BREAKING] Use only named exports (#11371)
[jest-each] [BREAKING] Ignore excess words in headings (#8766)
[jest-each] Support array index with template strings (#10763)
[jest-each] Fix wrong interpolation when the value of array contains multiple % (#11364)
[jest-environment] [BREAKING] Drop support for runScript for test environments (#11155)
[jest-environment-jsdom] Use inner realm’s ArrayBuffer constructor (#10885)
[jest-environment-jsdom] [BREAKING] Remove Node globals setImmediate and clearImmediate#11222
[jest-get-type] [BREAKING] Convert to ES Module (#11359)
[jest-globals] [BREAKING] Disallow return values other than a Promise from hooks and tests (#10512)
[jest-globals] [BREAKING] Disallow mixing a done callback and returning a Promise from hooks and tests (#10512)
[jest-haste-map] Vendor NodeWatcher from sane (#10919)
[jest-jasmine2] Fixed the issue of beforeAll & afterAll hooks getting executed even if it is inside a skipped describe block when it has child tests marked as either only or todo#10451
[jest-jasmine2] Fixed the issues of child tests marked with only or todo getting executed even if it is inside a skipped parent describe block #10451
[jest-jasmine2] Wrap all test functions so they open handles that were created in test functions using done callbacks can be detected (#11382)
[jest-reporter] Handle empty files when reporting code coverage with V8 (#10819)
[jest-resolve] Replace read-pkg-up with escalade package (#10781)
[jest-resolve] Disable jest-pnp-resolver for Yarn 2 (#10847)
[jest-runtime] [BREAKING] Do not inject global variable into module wrapper (#10644)
[jest-runtime] [BREAKING] remove long-deprecated jest.addMatchers, jest.resetModuleRegistry, and jest.runTimersToTime (#9853)
[jest-runtime] Fix stack overflow and promise deadlock when importing mutual dependant ES module (#10892)
[jest-runtime] Prevent global module registry from leaking into isolateModules registry (#10963)
[jest-runtime] Refactor to prevent race condition when linking and evaluating ES Modules (#11150)
[jest-runtime] Throw correct error when attempting to load ESM via require (#11260)
[jest-runtime] Do not cache modules that throw during evaluation (#11263)
[jest-transform] Show enhanced SyntaxError message for all SyntaxErrors (#10749)
[jest-transform] [BREAKING] Refactor API to pass an options bag around rather than multiple boolean options (#10753)
[jest-transform] [BREAKING] Refactor API of transformers to pass an options bag rather than separate config and other options (#10834)
[jest-util] Replace micromatch with picomatch to fix issues with negated globs (#11287)
[jest-validate] Use en-US locale to avoid case conversion problems while validating CLI options on machines with some certain locales(e.g. Turkish) set as default locale. (#11412)
[jest-worker] [BREAKING] Use named exports (#10623)
[jest-worker] Do not swallow errors during serialization (#10984)