mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-22 05:35:13 +00:00
29 lines
595 B
TypeScript
29 lines
595 B
TypeScript
import { defineVitestConfig } from '@nuxt/test-utils/config'
|
|
|
|
export default defineVitestConfig({
|
|
test: {
|
|
dir: './test/nuxt',
|
|
coverage: {
|
|
include: ['packages/nuxt/src/app'],
|
|
},
|
|
environment: 'nuxt',
|
|
setupFiles: [
|
|
'./test/setup-runtime.ts',
|
|
],
|
|
environmentOptions: {
|
|
nuxt: {
|
|
overrides: {
|
|
experimental: {
|
|
appManifest: process.env.TEST_MANIFEST !== 'manifest-off',
|
|
},
|
|
runtimeConfig: {
|
|
app: {
|
|
buildId: 'override',
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
})
|