Skip to content

Repository files navigation

vs-code-esmock README

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

Usage

  1. Create an empty file in which test is going to be added
  2. Open the VS Code command palette with Ctrl+Shift+P, and run init test

Commands

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 .js or .ts files

About

VScod extension to create esmock tests from scratch

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages