jest types are not recognized when in subfolder #687
-
Environment
Prerequisite
Relevant Debug Infoso i have a project splitted up in frontend and backend folder The Jest Runner works fine. i installed the types. the file is colored red in the filetree. i create a example repo (https://github.com/maxkarkowski/jest-vscode-test) Expected Behaviorvscode should find the types even if they are in a subfodler Actual Behaviortest files are marked |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 1 reply
-
Facing the same issue. Unit tests itself are working but intellisense isn't. Any suggestions? |
Beta Was this translation helpful? Give feedback.
-
also experiencing this with a similar setup using https://github.com/kulshekhar/ts-jest |
Beta Was this translation helpful? Give feedback.
-
We're seeing the same problem. Did anyone find a solution? |
Beta Was this translation helpful? Give feedback.
-
looks like the root problem for @maxkarkowski repo is related to the monorepo setup. I can see a few possible solutions:
this discussion might also help: #686 |
Beta Was this translation helpful? Give feedback.
-
Since this is not related to the extension, I will convert it to a discussion instead. |
Beta Was this translation helpful? Give feedback.
looks like the root problem for @maxkarkowski repo is related to the monorepo setup. I can see a few possible solutions:
exclude
option infrontend/tsconifg.json
this discussion might also help: #686