mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-14 20:19:34 +01:00
18 lines
396 B
TypeScript
18 lines
396 B
TypeScript
import { fileURLToPath } from 'node:url'
|
|
import { defineVitestConfig } from '@nuxt/test-utils/config'
|
|
|
|
export default defineVitestConfig({
|
|
test: {
|
|
testTimeout: 1000,
|
|
globals: true,
|
|
silent: true,
|
|
environment: 'nuxt',
|
|
environmentOptions: {
|
|
nuxt: {
|
|
rootDir: fileURLToPath(new URL('test/nuxt/', import.meta.url))
|
|
}
|
|
},
|
|
setupFiles: './setup.ts'
|
|
}
|
|
})
|