docs: add testdouble-vitest links to docs #501
Merged
+11
−2
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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!