mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-22 21:55:11 +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 { setup, $fetch } from '@nuxt/test-utils-edge'
|
||||
|
||||
describe('My test', () => {
|
||||
describe('My test', async () => {
|
||||
await setup({
|
||||
// test context options
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user