mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-14 12:14:41 +01:00
18 lines
395 B
TypeScript
18 lines
395 B
TypeScript
/// <reference types="vitest" />
|
|
import { fileURLToPath } from 'node:url'
|
|
import { defineVitestConfig } from 'nuxt-vitest/config'
|
|
|
|
export default defineVitestConfig({
|
|
test: {
|
|
testTimeout: 20000,
|
|
globals: true,
|
|
silent: true,
|
|
environment: 'nuxt',
|
|
environmentOptions: {
|
|
nuxt: {
|
|
rootDir: fileURLToPath(new URL('test/nuxt/', import.meta.url))
|
|
}
|
|
}
|
|
}
|
|
})
|