This extension helps you to start a new tets suit from scratch with esmock
⚠️ Important: Result test works with Node's test runner, that means you should work with Node version >= 18.0.0
- Create an empty file in which test is going to be added
- Open the VS Code command palette with
Ctrl+Shift+P, and run init test
The extension provides one command:
-
init test: allows to select which file is going to be tested and returns on the empty open file the a dummy test with all mocked imports
This extension only works with
.jsor.tsfiles