diff --git a/docs/testing.md b/docs/testing.md index d24cd71f3249a9e..551933ad4d7d62f 100644 --- a/docs/testing.md +++ b/docs/testing.md @@ -439,6 +439,7 @@ For example, we can add a test to check if the `` component successfully import { render, screen } from '@testing-library/react' import Home from '../pages/index' +import '@testing-library/jest-dom' describe('Home', () => { it('renders a heading', () => {