Closed mike247 closed 1 year ago
Jest config files can have multiple filenames
jest.config.js|ts|mjs|cjs|json
Jest runner only seems to support .js or .ts as valid extensions (see https://github.com/firsttris/vscode-jest-runner/blob/master/src/jestRunnerConfig.ts#L111)
There is an open PR from last year to add .cjs to the config, can this please be merged?
https://github.com/firsttris/vscode-jest-runner/pull/281/files
A related PR was merged: https://github.com/firsttris/vscode-jest-runner/pull/314
Notable that it is still missing jest.config.json, this issue might still be relevant
jest.config.json
should work now, if not re-open please.
Jest config files can have multiple filenames
Jest runner only seems to support .js or .ts as valid extensions (see https://github.com/firsttris/vscode-jest-runner/blob/master/src/jestRunnerConfig.ts#L111)
There is an open PR from last year to add .cjs to the config, can this please be merged?
https://github.com/firsttris/vscode-jest-runner/pull/281/files