npm jest 28.0.0-alpha.4
v28.0.0-alpha.4

2 years ago

Features

  • [jest-core] Pass project config to globalSetup/globalTeardown function as second argument (#12440)
  • [jest-mock] Improve isMockFunction to infer types of passed function (#12442)
  • [jest-resolve, jest-runtime] Add support for async resolver (#11540)

Fixes

  • [jest-haste-map] Don't use partial results if file crawl errors (#12420)
  • [jest-mock] Fix function overloads for spyOn to allow more correct type inference in complex object (#12442)

Chore & Maintenance

  • [*] Use globalThis instead of global (#12447)

New Contributors

Full Changelog: v28.0.0-alpha.3...v28.0.0-alpha.4

Don't miss a new jest release

NewReleases is sending notifications on new releases.