Skip to content

Commit

Permalink
fix(browser): update solidjs testing library lib (#6548)
Browse files Browse the repository at this point in the history
  • Loading branch information
CamilleTeruel authored Sep 25, 2024
1 parent adcdaee commit 91442df
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/guide/browser/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -428,7 +428,7 @@ Vitest doesn't support all frameworks out of the box, but you can use external t
For unsupported frameworks, we recommend using `testing-library` packages:

- [`@testing-library/preact`](https://testing-library.com/docs/preact-testing-library/intro) to render [preact](https://preactjs.com) components
- [`solid-testing-library`](https://testing-library.com/docs/solid-testing-library/intro) to render [solid](https://www.solidjs.com) components
- [`@solidjs/testing-library`](https://testing-library.com/docs/solid-testing-library/intro) to render [solid](https://www.solidjs.com) components
- [`@marko/testing-library`](https://testing-library.com/docs/marko-testing-library/intro) to render [marko](https://markojs.com) components

::: warning
Expand Down
2 changes: 1 addition & 1 deletion packages/vitest/src/create/browser/creator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ function getFrameworkTestPackage(framework: string) {
case 'preact':
return '@testing-library/preact'
case 'solid':
return 'solid-testing-library'
return '@solidjs/testing-library'
case 'marko':
return '@marko/testing-library'
}
Expand Down

0 comments on commit 91442df

Please sign in to comment.