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 14:20:37 +01:00
export default defineVitestConfig({
define: {
'process.test': 'true',
},
2024-01-09 09:56:15 +01:00
test: {
reporters: isCI ? ['default', 'hanging-process'] : ['default'],
2024-01-09 09:56:15 +01:00
setupFiles: [
'/tests/setup.ts',
],
},
})