Skip to content

Commit 52fac8e

Browse files
authored
fix(docs): userEvent setup broken link (#996)
1 parent 25c041b commit 52fac8e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/user-event/intro.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ to test interaction with your components.
3636

3737
## Writing tests with `userEvent`
3838

39-
We recommend to use [`userEvent.setup()`](setup) when rendering your component
39+
We recommend to use [`userEvent.setup()`](setup.mdx) when rendering your component
4040
and inline that rendering and setup in your test or use a setup function.
4141
We discourage rendering or using any `userEvent` functions outside of the test
4242
itself - e.g. in a `before`/`after` hook - for reasons described in

0 commit comments

Comments
 (0)