docs(testing): fix async/await (#5539)

This commit is contained in:
Alexander Lichter 2022-06-20 18:53:45 +02:00 committed by GitHub
parent 42c5428ee9
commit de3b4084a5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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
})