Skip to content

v1.1.0 (and v1.1.1) - @jest/globals support

Compare
Choose a tag to compare
@EskiMojo14 EskiMojo14 released this 03 Nov 11:18
· 167 commits to main since this release

This release adds a new entry point to support @jest/globals usage - you can now import from "mix-n-matchers/jest-globals" for all the matchers to be added.

If you're only using some matchers, your usage will be the same as previous - just import expect from "@jest/globals" and call expect.extend() as usual.

See README for a guide on Typescript setup.

NOTE: the jest-globals entry point is broken in v1.1.0 due to a bundling issue. Use v1.1.1, which fixes this.

What's Changed

Full Changelog: v1.0.1...v1.1.1