Jest v26.5.0 Release Notes

Release Date: 2020-10-05 // over 3 years ago
  • ๐Ÿ”‹ Features

    • [jest-circus, jest-config, jest-runtime] Add new injectGlobals config and CLI option to disable injecting global variables into the runtime (#10484)
    • ๐Ÿ›  [jest-each] Fixes .each type to always be callable (#10447)
    • 0๏ธโƒฃ [jest-runner] Add support for moduleLoaders with default exports (#10541)
    • ๐Ÿ“ฆ [@jest/create-cache-key-function] Added a new package for creating cache keys (#10587)

    ๐Ÿ›  Fixes

    • โœ… [jest-circus, jest-jasmine2] Find correct location for test.each tests (#10413)
    • [jest-console] Add Console constructor to console object (#10502)
    • [jest-globals] Fix lifecycle hook function types (#10480)
    • ๐ŸŽ [jest-runtime] Remove usage of vm.compileFunction due to a performance issue (#10586)

    ๐Ÿšง Chore & Maintenance

    • ๐Ÿ“ฆ [jest-resolve] Replace read-pkg-up with escalade package (10558)
    • โšก๏ธ [jest-environment-jsdom] Update jsdom to 16.4.0 (10578)