chore(examples): add missing dependency and script for testing example (#8457)

This commit is contained in:
Daniel Roe 2022-10-25 10:45:16 +02:00 committed by GitHub
parent 54da6f81a0
commit 1ac8c99df9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 2 deletions

View File

@ -4,9 +4,12 @@
"scripts": {
"build": "nuxi build",
"dev": "nuxi dev",
"start": "nuxi preview"
"start": "nuxi preview",
"test": "vitest run"
},
"devDependencies": {
"nuxt": "^3.0.0-rc.12"
"@nuxt/test-utils": "^3.0.0-rc.12",
"nuxt": "^3.0.0-rc.12",
"vitest": "latest"
}
}

View File

@ -115,9 +115,13 @@ importers:
examples/advanced/testing:
specifiers:
'@nuxt/test-utils': workspace:*
nuxt: workspace:*
vitest: latest
devDependencies:
'@nuxt/test-utils': link:../../../packages/test-utils
nuxt: link:../../../packages/nuxt
vitest: 0.24.3
examples/app-config:
specifiers: