From 28200687af2014f2477c82f3906bdbc379dc560b Mon Sep 17 00:00:00 2001 From: Minsoo Kim <57122180+minsoo-web@users.noreply.github.com> Date: Mon, 4 Nov 2024 15:41:45 +0900 Subject: [PATCH] Update intro.mdx --- docs/user-event/intro.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 () => {