1
0
mirror of https://github.com/kremalicious/blog.git synced 2024-12-31 17:17:46 +01:00

fix tests

This commit is contained in:
Matthias Kretschmann 2019-07-08 18:31:33 +02:00
parent 6944d73ee7
commit c5855a21f3
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

@ -83,6 +83,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.8.0",
@ -96,7 +97,6 @@
"fs-extra": "^8.0.0",
"identity-obj-proxy": "^3.0.0",
"jest": "^24.8.0",
"jest-dom": "^4.0.0",
"markdownlint-cli": "^0.17.0",
"node-sass": "^4.12.0",
"npm-run-all": "^4.1.5",