Open montoya332 opened 4 years ago
Import @testing-library/jest-dom once (for instance in your tests setup file) and you're good to go: import '@testing-library/jest-dom'
import '@testing-library/jest-dom'
https://github.com/testing-library/jest-dom#usage
I did notice that we can just import jest-dom on test files for now
Import @testing-library/jest-dom once (for instance in your tests setup file) and you're good to go:
import '@testing-library/jest-dom'
https://github.com/testing-library/jest-dom#usage
I did notice that we can just import jest-dom on test files for now