Skip to content

Commit

Permalink
docs: add info about dependencies to install
Browse files Browse the repository at this point in the history
  • Loading branch information
danielroe committed Mar 19, 2024
1 parent 8e635fd commit a258bfc
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion docs/1.getting-started/11.testing.md
Expand Up @@ -508,7 +508,22 @@ const page = await createPage('/page')

#### Testing with Playwright Test Runner

We also provide first-class support for using `@nuxt/test-utils` within [the Playwright test runner](https://playwright.dev/docs/intro).
We also provide first-class support for testing Nuxt within [the Playwright test runner](https://playwright.dev/docs/intro).

::code-group
```bash [yarn]
yarn add --dev @playwright/test @nuxt/test-utils
```
```bash [npm]
npm i --save-dev @playwright/test @nuxt/test-utils
```
```bash [pnpm]
pnpm add -D @playwright/test @nuxt/test-utils
```
```bash [bun]
bun add --dev @playwright/test @nuxt/test-utils
```
::

You can provide global Nuxt configuration, with the same configuration details as the `setup()` function mentioned earlier in this section.

Expand Down

0 comments on commit a258bfc

Please sign in to comment.