Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #501 from mcous/docs-vitest
docs: add testdouble-vitest links to docs
  • Loading branch information
searls committed Nov 23, 2022
2 parents 47bf3da + 5f1a959 commit 6535986
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
1 change: 1 addition & 0 deletions README.md
Expand Up @@ -55,6 +55,7 @@ may also want to check out one of these extensions:
* [testdouble-chai](https://github.com/basecase/testdouble-chai)
* [testdouble-jasmine](https://github.com/BrianGenisio/testdouble-jasmine)
* [testdouble-qunit](https://github.com/alexlafroscia/testdouble-qunit/tree/master/packages/testdouble-qunit)
* [testdouble-vitest](https://github.com/mcous/testdouble-vitest)

## Getting started

Expand Down
12 changes: 10 additions & 2 deletions docs/A-plugins.md
Expand Up @@ -17,15 +17,23 @@ your preferred testing framework. However, it may be the case that you'd prefer
to bridge the `verify()` method of testdouble.js with your preferred assertion
API for aesthetic or error-handling reasons.

Thes plugins developed by ourselves & the community:
These plugins developed by ourselves & the community:

* [testdouble-jest](https://github.com/testdouble/testdouble-jest) - module mocking support for Jest users
* [testdouble-chai](https://github.com/basecase/testdouble-chai) - Chai assertions
* [testdouble-jasmine](https://github.com/BrianGenisio/testdouble-jasmine) -
Jasmine `expect` matchers (by @BrianGenisio)
* [testdouble-qunit](https://github.com/alexlafroscia/testdouble-qunit) -
QUnit assertion

## Module Replacement Plugins

Some testing frameworks have built-in module replacement systems for injecting
fakes into your tests. Depending on the framework and your configuration,
you may need a plugin to use `replace()` / `replaceEsm()` in your tests:

* [testdouble-jest](https://github.com/testdouble/testdouble-jest) - module mocking support for Jest users
* [testdouble-vitest](https://github.com/mcous/testdouble-vitest) - module module support for Vitest users

## Build Plugins

Sometimes, it can be handy to have a ready-made shim to pull in and configure the
Expand Down

0 comments on commit 6535986

Please sign in to comment.