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)