https://cypress.io logo
cypress/jest/TL conflict
# i-need-help
l
Hi everyone! i'm having problem when i use cypress in combination with jest and testing library, i'm getting type errors when using jest-dom matchers as shown in the screenshot below. any idea on how to correct this conflict?

https://cdn.discordapp.com/attachments/1097225533076557844/1097225533584052234/Sans_titre.pngβ–Ύ

r
+ same for me when I try to use cypress component testing with the jasmine library
l
Well, everything seems to work fine, but i hate to see that squiggly red line πŸ˜…
Looks like you have to add ``"cypress`` to the tsconfig.json exclude property array
r
seems I tried to do that, it helps for jasmine tests, but after that there will be errors in the cypress test files
l
i just realized that, did you find a way to get around this?
r
Get rid of jasmine testsπŸ˜‚πŸ˜…
l
i don't use jasmine at all, i use jest with testing library