Tag: Jest


Running Jest tests in VS Code with custom environment variables

Posted on Wed 17 November 2021 by Austin Bingham

Currently the most popular Jest test runner extension for VS Code is vscode-jest by Orta. For most common setups, this extension works without any configuration needed to VS Code. In my case, though, I needed to enable Node's support for ECMAScript modules. The Jest documentation lists a few ways to …