Skip to content

Commit 91442df

Browse files
fix(browser): update solidjs testing library lib (#6548)
1 parent adcdaee commit 91442df

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/guide/browser/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -428,7 +428,7 @@ Vitest doesn't support all frameworks out of the box, but you can use external t
428428
For unsupported frameworks, we recommend using `testing-library` packages:
429429

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

434434
::: warning

packages/vitest/src/create/browser/creator.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ function getFrameworkTestPackage(framework: string) {
115115
case 'preact':
116116
return '@testing-library/preact'
117117
case 'solid':
118-
return 'solid-testing-library'
118+
return '@solidjs/testing-library'
119119
case 'marko':
120120
return '@marko/testing-library'
121121
}

0 commit comments

Comments
 (0)