You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For Node v6 and below required to add [regenerator-runtime](https://babeljs.io/docs/plugins/transform-regenerator/) on top of your tests or add it to the start scripts of your test framework (related discussion #9).
24
25
25
26
## Usage
26
27
@@ -257,6 +258,10 @@ Additional examples of Jest tests:
257
258
- simple example with `mongodb` in [tests in current package](https://github.com/nodkz/mongodb-memory-server/blob/master/src/__tests__/)
258
259
- more complex example with `mongoose` in [graphql-compose-mongoose](https://github.com/nodkz/graphql-compose-mongoose/blob/master/src/__mocks__/mongooseCommon.js)
259
260
261
+
### AVA test runner
262
+
For AVA written [detailed tutorial](https://github.com/zellwk/ava/blob/8b7ccba1d80258b272ae7cae6ba4967cd1c13030/docs/recipes/endpoint-testing-with-mongoose.md) how to test mongoose models by @zellwk.
263
+
264
+
260
265
## Travis
261
266
You may cache downloaded MongoDB binaries on Travis to speed up further tests:
0 commit comments