Skip to content

Commit

Permalink
update README
Browse files Browse the repository at this point in the history
  • Loading branch information
bumblehead committed Feb 26, 2024
1 parent 0a3d52b commit 3dbb01e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@

_**Note: For versions of node prior to v20.6.0,** "--loader" command line arguments must be used with `esmock` as demonstrated [in the wiki.][4] Current versions of node do not require "--loader"._

_**Note: typescript loaders** `ts-node` πŸ‘ and `tsm` πŸ‘ are compatible with other loaders, [including esmock.][11] `swc` πŸ‘Ž and `tsx` πŸ‘Ž are demonstrated as **incompatible** with other loaders, including esmock._

`esmock` has the below signature
```js
await esmock(
Expand Down Expand Up @@ -101,3 +103,4 @@ test('esmock.strict mocks', async () => {
[8]: https://img.shields.io/endpoint?url=https://gist.githubusercontent.com/iambumblehead/166d927bd0089d7bfdee4e98a537712c/raw/esmock__heads_master.json
[9]: https://img.shields.io/npm/v/esmock
[10]: https://badgen.now.sh/npm/dm/esmock
[11]: https://github.com/iambumblehead/esmock/tree/main/tests

0 comments on commit 3dbb01e

Please sign in to comment.