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
171171// __tests__/hidden-message.js
172172// these imports are something you'd normally configure Jest to import for you
173173// 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'
175175// NOTE: jest-dom adds handy assertions to Jest and is recommended, but not required
176176
177177import React from ' react'
@@ -261,7 +261,7 @@ export default Login
261261// __tests__/login.js
262262// again, these first two imports are something you' d normally handle in
263263// 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'
265265import React from ' react'
266266import {render , fireEvent , screen } from ' @testing-library/react'
267267import Login from ' ../login'
You can’t perform that action at this time.
0 commit comments