jest-cli v23.1.0 Release Notes
-
๐ Features
[jest-each]
Add pretty-format serialising to each titles (#6357)- โ
[jest-cli]
shouldRunTestSuite watch hook now receives an object withconfig
,testPath
andduration
(#6350) - ๐
[jest-each]
Support one dimensional array of data (#6351) - ๐ฆ
[jest-watch]
create new packagejest-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 toeach
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 ofmockClear
,mockReset
, andmockRestore
(#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)