Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit a258bfc

Browse files
committed
docs: add info about dependencies to install
1 parent 8e635fd commit a258bfc

File tree

1 file changed

+16
-1
lines changed

1 file changed

+16
-1
lines changed

docs/1.getting-started/11.testing.md

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -508,7 +508,22 @@ const page = await createPage('/page')
508508

509509
#### Testing with Playwright Test Runner
510510

511-
We also provide first-class support for using `@nuxt/test-utils` within [the Playwright test runner](https://playwright.dev/docs/intro).
511+
We also provide first-class support for testing Nuxt within [the Playwright test runner](https://playwright.dev/docs/intro).
512+
513+
::code-group
514+
```bash [yarn]
515+
yarn add --dev @playwright/test @nuxt/test-utils
516+
```
517+
```bash [npm]
518+
npm i --save-dev @playwright/test @nuxt/test-utils
519+
```
520+
```bash [pnpm]
521+
pnpm add -D @playwright/test @nuxt/test-utils
522+
```
523+
```bash [bun]
524+
bun add --dev @playwright/test @nuxt/test-utils
525+
```
526+
::
512527

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

0 commit comments

Comments
 (0)