mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-13 09:33:54 +00:00
24 lines
440 B
TypeScript
24 lines
440 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: {
|
|
pages: false,
|
|
appConfig: {
|
|
nuxt: {
|
|
buildId: 'override'
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
})
|