Skip to content

Commit

Permalink
docs: fix code-group
Browse files Browse the repository at this point in the history
  • Loading branch information
sheremet-va committed Aug 9, 2024
1 parent 61b84a2 commit 84d9623
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/guide/browser/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -435,7 +435,7 @@ For unsupported frameworks, we recommend using `testing-library` packages:
`testing-library` provides a package `@testing-library/user-event`. We do not recommend using it directly because it simulates events instead of actually triggering them - instead, use [`userEvent`](/guide/browser/interactivity-api) imported from `@vitest/browser/context` that uses Chrome DevTools Protocol or Webdriver (depending on the provider) under the hood.
:::

::: code-block
::: code-group
```tsx [preact]
// based on @testing-library/preact example
// https://testing-library.com/docs/preact-testing-library/example
Expand Down

0 comments on commit 84d9623

Please sign in to comment.