mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-25 15:15:19 +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'
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
})
|