mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-29 17:07:22 +00:00
docs(testing): add missing import (#5956)
This commit is contained in:
parent
4abcfb6bf9
commit
8b6bb92d9f
@ -164,7 +164,7 @@ We can create a test file and use the `rootDir` to test the fixture.
|
|||||||
|
|
||||||
```ts
|
```ts
|
||||||
// basic.test.js
|
// basic.test.js
|
||||||
import { describe, it } from 'vitest'
|
import { describe, it, expect } from 'vitest'
|
||||||
import { fileURLToPath } from 'node:url'
|
import { fileURLToPath } from 'node:url'
|
||||||
import { setup, $fetch } from '@nuxt/test-utils-edge'
|
import { setup, $fetch } from '@nuxt/test-utils-edge'
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user