jest-cli v27.5.0 Release Notes

  • ๐Ÿ”‹ Features

    • [expect] Add asymmetric matcher expect.closeTo (#12243)
    • ๐Ÿคก [jest-mock] Added mockFn.mock.lastCall to retrieve last argument (#12285)

    ๐Ÿ›  Fixes

    • [expect] Add a fix for .toHaveProperty('') (#12251)
    • โœ… [jest-each, @jest/globals] Allow passing ReadonlyArray type of a table to describe.each and test.each (#12297)
    • [@jest/globals] Add missing options argument to jest.doMock typing (#12292)
    • [jest-environment-node] Add atob and btoa (#12269)
    • [jest-matcher-utils] Correct diff for expected asymmetric matchers (#12264)
    • [jest-message-util] Fix .getTopFrame() (and toMatchInlineSnapshot()) with mjs files (#12277)

    ๐Ÿšง Chore & Maintenance

    • โšก๏ธ [*] Update graceful-fs to ^4.2.9 (#11749)

    ๐ŸŽ Performance

    • [jest-resolve] perf: skip error creation on not found stat calls (#11749)