vscode-jest does not seem to work with ts-jest and transform config for use with TypeScript
See original GitHub issueEnvironment
node -v: 10.5 npm -v: 6.1 VSCode: 1.24.1 Jest: 23.2 ts-jest: 23.0 Operating system: Windows 10 1709
transform config in jest.config.js
transform: {
"^.+\\.tsx?$": "ts-jest"
},
testRegex: "(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$",
moduleFileExtensions: [
"tsx",
"ts",
"js",
"jsx",
"json",
"node"
],
Issue Analytics
- State:
- Created 5 years ago
- Comments:9
Top Results From Across the Web
Debugging with TypeScript, Jest, ts-jest and Visual Studio ...
I've been working on a TypeScript project where I'm using jest. I'm super happy with TypeScript and Jest and with ts-jest, you get...
Read more >vscode-jest with ts-jest breakpoints in typescript source files
In VS Code I have the plugin vscode-jest installed. Debugging is not quite working as I would like it: I can start a...
Read more >Babel Config option | ts-jest - GitHub Pages
ts-jest can call the BabelJest processor once TypeScript has transformed the source into JavaScript. The option is babelConfig and it works ...
Read more >Debug Unit Tests in VSCode using Jest, Typescript ...
Hi folks! Yesterday I spent a lot of time to enable debugging for my unit tests in Visual Studio Code. Unfortunatelly I did...
Read more >Head start testing with Jest and Typescript
Hello, this post is not a super professional, it is a summary of notes ... transform: we say use 'ts-jest'; testRegex: we tell...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
In my case using it with craco,
"jest.pathToJest": "npm run test --"
workedvscode-jest 2.9.0 has shipped with jest 23.x support and more, which should address this issue. Feel free to reopen if otherwise.