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 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)