Set-up React Testing Library and write first test
This diff is collapsed.
... | ... | @@ -72,6 +72,9 @@ |
"tinymce": "^4.9.4" | ||
}, | ||
"devDependencies": { | ||
"@testing-library/jest-dom": "^5.11.4", | ||
"@testing-library/react": "^10.4.9", | ||
"@testing-library/user-event": "^12.1.3", | ||
"enzyme": "^3.9.0", | ||
"enzyme-adapter-react-16": "^1.15.3", | ||
"es6-plato": "^1.1.6", | ||
... | ... | @@ -87,7 +90,7 @@ |
"typescript": "^3.9.7" | ||
}, | ||
"jest": { | ||
"resetMocks": true, | ||
"clearMocks": true, | ||
"transformIgnorePatterns": [ | ||
"/node_modules/(?!lodash-es)/.*" | ||
] | ||
... | ... |
src/setupTests.js
0 → 100644
src/test-utils.js
0 → 100644
Please register or sign in to comment