mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-14 01:53:55 +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'
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
})
|