1
0
Fork 1
mirror of https://github.com/elk-zone/elk.git synced 2024-11-10 02:49:58 +00:00
elk/vitest.config.ts

15 lines
310 B
TypeScript
Raw Normal View History

import { defineVitestConfig } from '@nuxt/test-utils/config'
import { isCI } from 'std-env'
2023-01-29 13:20:37 +00:00
export default defineVitestConfig({
define: {
'process.test': 'true',
},
2024-01-09 08:56:15 +00:00
test: {
reporters: isCI ? ['default', 'hanging-process'] : ['default'],
2024-01-09 08:56:15 +00:00
setupFiles: [
'/tests/setup.ts',
],
},
})