mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-26 15:42:09 +00:00
docs(testing): fix async/await (#5539)
This commit is contained in:
parent
42c5428ee9
commit
de3b4084a5
@ -20,7 +20,7 @@ In each `describe` block where you are taking advantage of the `@nuxt/test-utils
|
|||||||
import { describe, test } from 'vitest'
|
import { describe, test } from 'vitest'
|
||||||
import { setup, $fetch } from '@nuxt/test-utils-edge'
|
import { setup, $fetch } from '@nuxt/test-utils-edge'
|
||||||
|
|
||||||
describe('My test', () => {
|
describe('My test', async () => {
|
||||||
await setup({
|
await setup({
|
||||||
// test context options
|
// test context options
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user