mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-29 00:52:01 +00:00
24 lines
412 B
TypeScript
24 lines
412 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: 'test'
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
})
|