https://github.com/tapjs/mock-esm
https://github.com/tapjs/mock-esm
Last synced: 8 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/tapjs/mock-esm
- Owner: tapjs
- Created: 2022-03-21T06:47:36.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-11-09T19:10:18.000Z (about 3 years ago)
- Last Synced: 2025-04-23T22:06:04.725Z (8 months ago)
- Language: JavaScript
- Size: 6.84 KB
- Stars: 5
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# @tapjs/mock-esm
just a proof of concept to do `const foo = await t.mockESM('./foo.mjs')`,
as the modern equivalent of `const foo = t.mock('./foo.cjs')`.