stryker-js
stryker-js copied to clipboard
Doesn't work with jest.config.ts
Everything works perfectly with jest.config.js, however, changing it to jest.config.ts (and making sure the jest.configFile
points to the typescript file. Doesn't work.
I had a similar issue and what I did to solve it was to use the jest.config (with require
) instead of jest.configFile and replaced export default
with module.exports =
in the jest.config file
Ah yes, should be an easy fix. We're happy to accept a PR for this
Fixed with #3761
Released in v6.3 🎉. Just a heads-up, the @stryker-mutator/jest-runner
plugin only supports jest.config.ts
files when you install jest@>=29.2