Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: add testdouble-vitest links to docs #501

Merged
merged 1 commit into from Nov 23, 2022
Merged

Conversation

mcous
Copy link
Contributor

@mcous mcous commented Nov 23, 2022

Following up on #484 (comment), this PR adds a couple links to testdouble-vitest to the docs. This plugin adds replaceEsm support when using testdouble.js with vitest by way of vitest's built-in module replacement system, rather than through quibble.

I based it mostly off testdouble-jest, with changes to make it fit in with vitest - namely ES Modules and test API access via imports rather than globals.

I shuffled some links around in appendix A since it didn't really feel to me like my plugin (or testdouble-jest for that matter) were "Assertion Plugins", but please free to edit, revert, or whatever as you see fit!

@searls
Copy link
Member

searls commented Nov 23, 2022

Brilliant! Thank you!

@searls searls merged commit 6535986 into testdouble:main Nov 23, 2022
@mcous mcous deleted the docs-vitest branch November 23, 2022 21:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants