Skip to content

jest types are not recognized when in subfolder #687

Answered by connectdotz
maxkarkowski asked this question in Q&A
Discussion options

You must be logged in to vote

looks like the root problem for @maxkarkowski repo is related to the monorepo setup. I can see a few possible solutions:

  1. convert the project to a true multiroot project, the cleanest solution IMHO.
  2. open the "frontend" as the project root instead of the parent directory
  3. remove the "src/**/*.test.ts" from exclude option in frontend/tsconifg.json

this discussion might also help: #686

Replies: 5 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@hisuwh
Comment options

Answer selected by connectdotz
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
5 participants
Converted from issue

This discussion was converted from issue #560 on May 04, 2021 21:45.