mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-28 08:32:06 +00:00
46be076751
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Daniel Roe <daniel@roe.dev>
24 lines
416 B
TypeScript
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'
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
})
|