mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-30 01:17:16 +00:00
390a0ff281
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Daniel Roe <daniel@roe.dev>
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: {
|
|
runtimeConfig: {
|
|
app: {
|
|
buildId: 'override',
|
|
},
|
|
},
|
|
experimental: {
|
|
appManifest: process.env.TEST_MANIFEST !== 'manifest-off',
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
})
|