It returns me Cannot find module './dist/extend-expect' from 'extend-expect.js'
even when it is installed =/
"devDependencies": {
"@testing-library/dom": "^6.4.0",
"@testing-library/jest-dom": "github:testing-library/jest-dom",
"@testing-library/react": "^9.1.4",
I having a lot of problems with import
I think you have it installed incorrectly, my
package.json
looks like:Did you add
jest-dom
with:Yes, I dont know why it was installed like that... I've followed the docs, but now it is working fine, thank you :)