mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-13 09:33:54 +00:00
26 lines
525 B
TypeScript
26 lines
525 B
TypeScript
import { defineVitestConfig } from '@nuxt/test-utils/config'
|
|
|
|
export default defineVitestConfig({
|
|
test: {
|
|
dir: './test/nuxt',
|
|
coverage: {
|
|
include: ['packages/nuxt/src/app']
|
|
},
|
|
environment: 'nuxt',
|
|
environmentOptions: {
|
|
nuxt: {
|
|
overrides: {
|
|
experimental: {
|
|
appManifest: process.env.TEST_MANIFEST !== 'manifest-off'
|
|
},
|
|
appConfig: {
|
|
nuxt: {
|
|
buildId: 'override'
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
})
|