We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bc41892 commit 56d34c0Copy full SHA for 56d34c0
docusaurus/docs/running-tests.md
@@ -194,7 +194,7 @@ Similar to `enzyme` you can create a `src/setupTests.js` file to avoid boilerpla
194
```js
195
// react-testing-library renders your components to document.body,
196
// this adds jest-dom's custom assertions
197
-import '@testing-library/jest-dom/extend-expect';
+import '@testing-library/jest-dom';
198
```
199
200
Here's an example of using `react-testing-library` and `jest-dom` for testing that the `<App />` component renders "Welcome to React".
0 commit comments