diff --git a/docs/content/1.docs/1.getting-started/11.testing.md b/docs/content/1.docs/1.getting-started/11.testing.md index 67dc80c14d..f179663b6f 100644 --- a/docs/content/1.docs/1.getting-started/11.testing.md +++ b/docs/content/1.docs/1.getting-started/11.testing.md @@ -11,12 +11,12 @@ Test utils are still in development and the API and behavior may change. Current If you are a module author, you can find more specific informations in the [Module Author's guide](/docs/guide/going-further/modules#testing) :: -In Nuxt 3, we have a rewritten version of `@nuxt/test-utils` available as `@nuxt/test-utils-edge`. We support [Vitest](https://github.com/vitest-dev/vitest) and [Jest](https://jestjs.io/) as the test runner. +In Nuxt 3, we have a rewritten version of `@nuxt/test-utils`. We support [Vitest](https://github.com/vitest-dev/vitest) and [Jest](https://jestjs.io/) as test runners. ## Installation ```bash -yarn add --dev @nuxt/test-utils-edge vitest +yarn add --dev @nuxt/test-utils vitest ``` ## Setup @@ -25,7 +25,7 @@ In each `describe` block where you are taking advantage of the `@nuxt/test-utils ```ts import { describe, test } from 'vitest' -import { setup, $fetch } from '@nuxt/test-utils-edge' +import { setup, $fetch } from '@nuxt/test-utils' describe('My test', async () => { await setup({ diff --git a/docs/content/1.docs/2.guide/3.going-further/3.modules.md b/docs/content/1.docs/2.guide/3.going-further/3.modules.md index ce94820598..95ce8d1c72 100644 --- a/docs/content/1.docs/2.guide/3.going-further/3.modules.md +++ b/docs/content/1.docs/2.guide/3.going-further/3.modules.md @@ -209,7 +209,7 @@ We can create a test file and use the `rootDir` to test the fixture. // basic.test.js import { describe, it, expect } from 'vitest' import { fileURLToPath } from 'node:url' -import { setup, $fetch } from '@nuxt/test-utils-edge' +import { setup, $fetch } from '@nuxt/test-utils' describe('ssr', async () => { await setup({