docs(testing): add missing import (#5956)

This commit is contained in:
码农小余 2022-07-17 22:17:52 +08:00 committed by GitHub
parent 4abcfb6bf9
commit 8b6bb92d9f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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'