firsttris / vscode-jest-runner

Simple way to run or debug one or more tests from context menu, codelens or command plalette
https://marketplace.visualstudio.com/items?itemName=firsttris.vscode-jest-runner
MIT License
265 stars 124 forks source link

fix: support jest.config.json #346

Closed zsstiers closed 8 months ago

zsstiers commented 8 months ago

Adds jest.config.json to the list of supported jest.config paths. This list now fully matches the guidance on https://jestjs.io/docs/configuration, which states

It is recommended to define the configuration in a dedicated JavaScript, TypeScript or JSON file. The file will be discovered automatically, if it is named jest.config.js|ts|mjs|cjs|json. You can use --config flag to pass an explicit path to the file.

Fix: #328