fix tests

This commit is contained in:
Matthias Kretschmann 2019-07-08 18:29:29 +02:00
parent 3d4dd15eb0
commit e6072a9244
Signed by: m
GPG Key ID: 606EEEF3C479A91F
2 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
import 'jest-dom/extend-expect'
import '@testing-library/jest-dom/extend-expect'
// this is basically: afterEach(cleanup)
import '@testing-library/react/cleanup-after-each'

View File

@ -59,6 +59,7 @@
"@babel/node": "^7.4.5",
"@babel/preset-env": "^7.4.5",
"@svgr/webpack": "^4.3.0",
"@testing-library/jest-dom": "^4.0.0",
"@testing-library/react": "^8.0.2",
"babel-eslint": "^10.0.2",
"babel-jest": "^24.7.1",
@ -75,7 +76,6 @@
"identity-obj-proxy": "^3.0.0",
"jest": "^24.7.1",
"jest-canvas-mock": "^2.0.0",
"jest-dom": "^4.0.0",
"js-yaml": "^3.13.1",
"lighthousebot": "git+https://github.com/GoogleChromeLabs/lighthousebot.git",
"node-sass": "^4.12.0",