Jest v23.2.0 Release Notes

  • ๐Ÿ”‹ Features

    • โœ… [jest-each] Add support for keyPaths in test titles (#6457)
    • ๐Ÿ”ง [jest-cli] Add jest --init option that generates a basic configuration file with a short description for each option (#6442)
    • โœ… [jest.retryTimes] Add jest.retryTimes() option that allows failed tests to be retried n-times when using jest-circus. (#6498)

    ๐Ÿ›  Fixes

    • ๐Ÿ“š [docs] Fixed error in documentation for expect.not.arrayContaining(array). (#6491)
    • โœ… [jest-cli] Add check to make sure one or more tests have run before notifying when using --notify (#6495)
    • [jest-cli] Pass globalConfig as a parameter to globalSetup and globalTeardown functions (#6486)
    • 0๏ธโƒฃ [jest-config] Add missing options to the defaults object (#6428)
    • [expect] Using symbolic property names in arrays no longer causes the toEqual matcher to fail (#6391)
    • [expect] toEqual no longer tries to compare non-enumerable symbolic properties, to be consistent with non-symbolic properties. (#6398)
    • ๐ŸŒฒ [jest-util] console.timeEnd now properly log elapsed time in milliseconds. (#6456)
    • ๐Ÿคก [jest-mock] Fix MockNativeMethods access in react-native jest.mock() (#6505)
    • 0๏ธโƒฃ [jest-cli] Fix reporters for moduleName = 'default' (#6542)

    ๐Ÿšง Chore & Maintenance

    • ๐Ÿ“„ [docs] Add jest-each docs for 1 dimensional arrays (#6444)