Nuxt/vitest.nuxt.config.ts

24 lines
416 B
TypeScript
Raw Normal View History

import { defineVitestConfig } from 'nuxt-vitest/config'
export default defineVitestConfig({
// TODO: investigate
define: {
'import.meta.test': true
},
test: {
dir: './test/nuxt',
environment: 'nuxt',
environmentOptions: {
nuxt: {
overrides: {
appConfig: {
nuxt: {
buildId: 'override'
}
}
}
}
}
}
})