Skip to content
This repository was archived by the owner on May 7, 2021. It is now read-only.

Commit 46c5984

Browse files
sleepycatDaniel Tse
authored and
Daniel Tse
committed
Replace jest-dom (#671)
This package has been replaced with @testing-library/jest-dom as per testing-library/dom-testing-library#260
1 parent d27054c commit 46c5984

File tree

3 files changed

+121
-99
lines changed

3 files changed

+121
-99
lines changed

frontend/jest.setup.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import '@babel/polyfill'
2-
import 'jest-dom/extend-expect'
2+
import '@testing-library/jest-dom/extend-expect'
33
import { configure } from 'enzyme'
44
import Adapter from 'enzyme-adapter-react-16'
55
import { matchers } from 'jest-emotion'

frontend/package-lock.json

Lines changed: 119 additions & 97 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

frontend/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
"@lingui/react": "^2.8.3",
3535
"@reach/component-component": "^0.1.3",
3636
"@reach/router": "^1.2.1",
37+
"@testing-library/jest-dom": "^4.1.0",
3738
"apollo-cache-inmemory": "^1.6.3",
3839
"apollo-client": "^2.6.4",
3940
"apollo-link-error": "^1.1.11",
@@ -94,7 +95,6 @@
9495
"husky": "^3.0.0",
9596
"is-react": "^1.3.3",
9697
"jest": "^24.8.0",
97-
"jest-dom": "^3.5.0",
9898
"jest-emotion": "^10.0.14",
9999
"npm-check": "^5.9.0",
100100
"prettier": "^1.18.2",

0 commit comments

Comments
 (0)