jest-cli v24.8.0 Release Notes

Release Date: 2019-05-05 // almost 5 years ago
  • ๐Ÿ”‹ Features

    • [jest-circus] Bind to Circus events via an optional event handler on any custom env (#8344)
    • [expect] Improve report when matcher fails, part 15 (#8281)
    • โšก๏ธ [jest-cli] Update --forceExit and "did not exit for one second" message colors (#8329)
    • [expect] Improve report when matcher fails, part 16 (#8306)
    • โœ… [jest-runner] Pass docblock pragmas to TestEnvironment constructor (#8320)
    • ๐Ÿ“„ [docs] Add DynamoDB guide (#8319)
    • [expect] Improve report when matcher fails, part 17 (#8349)
    • [expect] Improve report when matcher fails, part 18 (#8356)
    • [expect] Improve report when matcher fails, part 19 (#8367)

    ๐Ÿ›  Fixes

    • [jest-each] Fix bug with placeholder values (#8289)
    • [jest-snapshot] Inline snapshots: do not indent empty lines (#8277)
    • [@jest/runtime, @jest/transform] Allow custom transforms for JSON dependencies (#2578)
    • [jest-core] Make detectOpenHandles imply runInBand (#8283)
    • [jest-haste-map] Fix the mapper option which was incorrectly ignored (#8299)
    • โš  [jest-jasmine2] Fix describe return value warning being shown if the describe function throws (#8335)
    • [jest-environment-jsdom] Re-declare global prototype of JSDOMEnvironment (#8352)
    • ๐Ÿ”€ [jest-snapshot] Handle arrays when merging snapshots (#7089)
    • [expect] Extract names of async and generator functions (#8362)
    • ๐Ÿคก [jest-runtime] Fix virtual mocks not being unmockable after previously being mocked (#8396)
    • ๐Ÿ [jest-transform] Replace special characters in transform cache filenames to support Windows (#8353)
    • [jest-config] Allow exactly one project (#7498)

    ๐Ÿšง Chore & Maintenance

    • โœ… [expect] Fix label and add opposite assertion for toEqual tests (#8288)
    • ๐Ÿ“„ [docs] Mention Jest MongoDB Preset (#8318)
    • [@jest/reporters] Migrate away from istanbul-api (#8294)
    • โœ… [*] Delete obsolete emails tag from header comment in test files (#8377)
    • โšก๏ธ [expect] optimize compare nodes (#8368)
    • ๐Ÿคก [docs] Fix typo in MockFunctionAPI.md (#8406)
    • [LICENSE] Follow copyright header guidelines and delete For Jest software (#8428)

    ๐ŸŽ Performance

    • [jest-runtime] Fix module registry memory leak (#8282)
    • โšก๏ธ [jest-resolve] optimize resolve module path (#8388)
    • [jest-resolve] cache current directory (#8412)
    • [jest-get-type] Simplify checking for primitive (#8416)