Jest v28.1.0 Release Notes

  • ๐Ÿ”‹ Features

    • โœ… [jest-circus] Add failing test modifier that inverts the behavior of tests (#12610)
    • [jest-environment-node, jest-environment-jsdom] Allow specifying customExportConditions (#12774)

    ๐Ÿ›  Fixes

    • ๐Ÿคก [expect] Adjust typings of lastCalledWith, nthCalledWith, toBeCalledWith matchers to allow a case there a mock was called with no arguments (#12807)
    • [@jest/expect-utils] Fix deep equality of ImmutableJS Lists (#12763)
    • [jest-core] Do not collect SIGNREQUEST as open handles (#12789)

    ๐Ÿšง Chore & Maintenance

    • ๐Ÿ“š [docs] Specified documentation about --filter CLI docs (#12799)
    • ๐Ÿšš [@jest-reporters] Move helper functions from utils.ts into separate files (#12782)
    • [jest-resolve] Replace process.versions.pnp type declaration with @types/pnpapi devDependency (#12783)