Nuxt/vitest.nuxt.config.ts

13 lines
239 B
TypeScript
Raw Normal View History

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