diff --git a/docs/user-event/intro.mdx b/docs/user-event/intro.mdx index f4319fec1..a22fc16e9 100644 --- a/docs/user-event/intro.mdx +++ b/docs/user-event/intro.mdx @@ -64,7 +64,7 @@ itself - e.g. in a `before`/`after` hook - for reasons described in ["Avoid Nesting When You're Testing"](https://kentcdodds.com/blog/avoid-nesting-when-youre-testing). ```js -import userEvent from '@testing-library/user-event' +import { userEvent } from '@testing-library/user-event' // inlining test('trigger some awesome feature when clicking the button', async () => {