How do I import a .tsx file into cypress.config.ts? #26557
Answered
by
schester44
schester44
asked this question in
Questions and Help
-
Getting an error message
I have tsconfig.json configured with |
Beta Was this translation helpful? Give feedback.
Answered by
schester44
Apr 21, 2023
Replies: 1 comment
-
our folder structure is: cypress/tsconfig.json I was modifying. cypress/tsconfig.json which wasn't working. adding "jsx": "react-jsx" to the compilerOptions of the tsconfig.json file in the the root of the project seems to have fixed the issue. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
schester44
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
our folder structure is:
cypress/tsconfig.json
packages/**/tsconfig.json
tsconfig.json
I was modifying. cypress/tsconfig.json which wasn't working. adding "jsx": "react-jsx" to the compilerOptions of the tsconfig.json file in the the root of the project seems to have fixed the issue.