A good idea for Cypress tests is to use cypress-testing-library (github.com/testing-library/cypress...), so you can use jest-dom on your cypress tests!
If you use Cypress you do not need jest-dom. You use jest-dom, alongside testing-library I mean, with Jest, @testing-library/react, etc.
Apart from this detail: Yes, I really love it and I use @testing-library/cypress in all my projects ❤️ (I'm in its contributor list, too).
Thank you 😊
Stefano
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
A good idea for Cypress tests is to use
cypress-testing-library
(github.com/testing-library/cypress...), so you can usejest-dom
on your cypress tests!If you use Cypress you do not need
jest-dom
. You usejest-dom
, alongside testing-library I mean, with Jest,@testing-library/react
, etc.Apart from this detail: Yes, I really love it and I use
@testing-library/cypress
in all my projects ❤️ (I'm in its contributor list, too).Thank you 😊
Stefano