Releases
v23.1.0
SimenB
released this
16 Aug 10:38
Features
[jest-each]
Add pretty-format serialising to each titles (#6357 )
[jest-cli]
shouldRunTestSuite watch hook now receives an object with config
, testPath
and duration
(#6350 )
[jest-each]
Support one dimensional array of data (#6351 )
[jest-watch]
create new package jest-watch
to ease custom watch plugin development (#6318 )
[jest-circus]
Make hooks in empty describe blocks error (#6320 )
Add a config/CLI option errorOnDeprecated
which makes calling deprecated APIs throw hepful error messages (#6339 )
Fixes
[jest-each]
Fix pluralising missing arguments error (#6369 )
[jest-each]
Stop test title concatenating extra args (#6346 )
[expect]
toHaveBeenNthCalledWith/nthCalledWith gives wrong call messages if not matched (#6340 )
[jest-each]
Make sure invalid arguments to each
points back to the user's code (#6347 )
[expect]
toMatchObject throws TypeError when a source property is null (#6313 )
[jest-cli]
Normalize slashes in paths in CLI output on Windows (#6310 )
[jest-cli]
Fix run beforeAll in excluded suites tests" mode. (#6234 )
[jest-haste-map
] Compute SHA-1s for non-tracked files when using Node crawler (#6264 )
Chore & Maintenance
[docs]
Improve documentation of mockClear
, mockReset
, and mockRestore
(#6227 )
[jest-each]
Refactor each to use shared implementation with core (#6345 )
[jest-each]
Update jest-each docs for serialising values into titles (#6337 )
[jest-circus]
Add dependency on jest-each (#6309 )
[filenames]
Rename "integration-tests" to "e2e" (#6315 )
[docs]
Mention the use of commit hash with --changedSince
flag (#6330 )
You can’t perform that action at this time.