Nuxt/vitest.nuxt.config.ts

13 lines
227 B
TypeScript

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