Closed InfiniteXyy closed 3 weeks ago
:tada: This PR is included in version 6.6.3 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
@all-contributors please add @InfiniteXyy for code, bug
@gnapse
I've put up a pull request to add @InfiniteXyy! :tada:
What: https://github.com/testing-library/jest-dom/issues/645 Fix a vitest typing issue when using global mode
Why: If there is no import of "vitest" in the whole project (for example, vitest is in globalMode), the type merging might not work.
How: By adding an import of "vitest" when extending the matcher type
reference: https://vitest.dev/guide/extending-matchers.html
Checklist: