File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -171,7 +171,7 @@ export default HiddenMessage
171
171
// __tests__/hidden-message.js
172
172
// these imports are something you'd normally configure Jest to import for you
173
173
// automatically. Learn more in the setup docs: https://testing-library.com/docs/react-testing-library/setup#cleanup
174
- import ' @testing-library/jest-dom/extend-expect '
174
+ import ' @testing-library/jest-dom'
175
175
// NOTE: jest-dom adds handy assertions to Jest and is recommended, but not required
176
176
177
177
import React from ' react'
@@ -261,7 +261,7 @@ export default Login
261
261
// __tests__/login.js
262
262
// again, these first two imports are something you' d normally handle in
263
263
// your testing framework configuration rather than importing them in every file.
264
- import ' @testing-library/jest-dom/extend-expect '
264
+ import ' @testing-library/jest-dom'
265
265
import React from ' react'
266
266
import {render , fireEvent , screen } from ' @testing-library/react'
267
267
import Login from ' ../login'
You can’t perform that action at this time.
0 commit comments