Comparing version 1.8.5 to 1.8.7
{ | ||
"name": "esmock", | ||
"version": "1.8.5", | ||
"version": "1.8.7", | ||
"license": "ISC", | ||
@@ -5,0 +5,0 @@ "readmeFilename": "README.md", |
@@ -12,3 +12,3 @@ ```diff | ||
**esmock provides native ESM import mocking for unit tests.** Use examples below as a quick-start guide or use the [descriptive and friendly esmock guide here.][10] | ||
**esmock provides native ESM import mocking for unit tests.** Use examples below as a quick-start guide, see the [descriptive and friendly esmock guide here,][10] or browse [esmock's test runner examples.][3] | ||
@@ -19,5 +19,5 @@ [10]: https://github.com/iambumblehead/esmock/wiki | ||
[2]: https://github.com/iambumblehead/esmock "esmock" | ||
[3]: https://github.com/iambumblehead/esmock/tree/master/tests "tests" | ||
`esmock` is used with node's --loader | ||
@@ -35,4 +35,8 @@ ``` json | ||
"test-tsm": "node --loader=tsm --loader=esmock --test *ts", | ||
"test-ts-node": "node --loader=ts-node/esm --loader=esmock --test *ts" | ||
} | ||
"test-ts-node": "node --loader=ts-node/esm --loader=esmock --test *ts", | ||
"test-jest": "NODE_OPTIONS='--loader=esmock' jest" | ||
}, | ||
"jest": { | ||
"runner": "jest-light-runner" | ||
}, | ||
} | ||
@@ -39,0 +43,0 @@ ``` |
12057
111