Nuxt/vitest.nuxt.config.ts
renovate[bot] 390a0ff281
chore(deps): update devdependency @nuxt/test-utils to v3.13.0 (main) (#27238)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2024-05-20 01:02:54 -05:00

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',
},
},
},
},
},
})