Nuxt/vitest.nuxt.config.ts
renovate[bot] 46be076751
chore(deps): update all non-major dependencies (main) (#23506)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-10-07 08:30:10 +02:00

24 lines
416 B
TypeScript

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