jest-docblock
Advanced tools
Changelog
29.7.0
[create-jest]
Add npm init
/ yarn create
initialiser for Jest projects (#14465)[jest-validate]
Allow deprecation warnings for unknown options (#14499)[jest-resolver]
Replace unmatched capture groups in moduleNameMapper
with empty string instead of undefined
(#14507)[jest-snapshot]
Allow for strings as well as template literals in inline snapshots (#14465)[@jest/test-sequencer]
Calculate test runtime if perStats.duration
is missing (#14473)[@jest/create-cache-key-function]
Cache access of NODE_ENV
and BABEL_ENV
(#14455)[jest-cli]
Move internal config initialisation logic to the create-jest
package (#14465)Changelog
29.6.3
[expect, @jest/expect-utils]
ObjectContaining
support sumbol
as key (#14414)[expect]
Remove @types/node
from dependencies (#14385)[jest-core]
Use workers in watch mode by default to avoid crashes (#14059 & #14085).[jest-reporters]
Update istanbul-lib-instrument
dependency to v6. (#14401)[jest-mock]
Revert #13692 as it was a breaking change (#14429)[jest-mock]
Revert #13866 as it was a breaking change (#14429)[jest-mock]
Revert #13867 as it was a breaking change (#14429)[@jest/reporters]
Marks Reporter's hooks as optional (#14433)[jest-runtime]
Fix dynamic ESM import module bug when loaded module through jest.isolateModulesAsync
(#14397)[jest-changed-files, jest-circus, jest-console, @jest/core, @jest/runtime, @jest/transform]
Use invariant
and notEmpty
from jest-util
rather than own internal (#14366)Changelog
29.4.3
[expect]
Update toThrow()
to be able to use error cause
s (#13606)[jest-core]
allow to use workerIdleMemoryLimit
with only 1 worker or runInBand
option (#13846)[jest-message-util]
Add support for error cause
s (#13868 & #13912)[jest-runtime]
Revert import assertions
for JSON modules as it's been relegated to Stage 2 (#13911)[@jest/expect-utils]
subsetEquality
should consider also an object's inherited string keys (#13824)[jest-mock]
Clear mock state when jest.restoreAllMocks()
is called (#13867)[jest-mock]
Prevent mockImplementationOnce
and mockReturnValueOnce
bleeding into withImplementation
(#13888)[jest-mock]
Do not restore mocks when jest.resetAllMocks()
is called (#13866)