Skip to content

25.4.0

Compare
Choose a tag to compare
@SimenB SimenB released this 19 Apr 21:52
· 2507 commits to main since this release
5b129d7
  • [expect] Support async functions in toThrow (#9817)
  • [jest-console] Add code frame to console.error and console.warn (#9741)
  • [jest-runtime, jest-jasmine2, jest-circus] Experimental, limited ECMAScript Modules support (#9772 & #9842)

Fixes

  • [expect] Restore support for passing functions to toHaveLength matcher (#9796)
  • [jest-changed-files] --only-changed should include staged files (#9799)
  • [jest-circus] Throw on nested test definitions (#9828)
  • [jest-each] each will throw an error when called with too many arguments (#9818)
  • [jest-runner] Don't print warning to stdout when using --json (#9843)

Chore & Maintenance

  • [*] Do not generate TypeScript declaration source maps (#9822)
  • [*] Transpile code for Node 8.3, not 8.0 (#9827)