diff --git a/docs/guide/browser/index.md b/docs/guide/browser/index.md index 0077e7fc4ee0..5eacddc8b69e 100644 --- a/docs/guide/browser/index.md +++ b/docs/guide/browser/index.md @@ -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 diff --git a/packages/vitest/src/create/browser/creator.ts b/packages/vitest/src/create/browser/creator.ts index 050dcfe358e2..be0d20a04559 100644 --- a/packages/vitest/src/create/browser/creator.ts +++ b/packages/vitest/src/create/browser/creator.ts @@ -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' }