cypress-documentation icon indicating copy to clipboard operation
cypress-documentation copied to clipboard

Document adding `./cypress.config.ts` to `tsconfig.exclude` to avoid conflicts with Jest

Open marktnoonan opened this issue 3 years ago • 2 comments

Subject

Guides - component testing troubleshooting

Description

We should update the Cypress Types Conflict with Jest section of the docs to reflect the solution outlined here by @ZachJW34 to the issue reported in https://github.com/cypress-io/cypress/issues/22059.

It's also been suggested in that issue to surface this in the migration guide, which I think is not a bad idea.

I'm creating this issue in the docs so that we can close the issue in the main repo and add the information to our main docs.

marktnoonan avatar Jun 07 '22 22:06 marktnoonan

Hello,

Just to clarify, it's not only on Jest, we have the same problem on Angular with Jasmine, the fix works the same.

Yberion avatar Jun 09 '22 11:06 Yberion

@marktnoonan would you mind help this PR #4600 merged? thx

bchen1029 avatar Oct 02 '22 16:10 bchen1029