1
0
mirror of https://github.com/elk-zone/elk synced 2024-11-27 14:28:10 +09:00
elk/vitest.config.ts
2024-02-25 14:13:27 +00:00

15 lines
310 B
TypeScript

import { defineVitestConfig } from '@nuxt/test-utils/config'
import { isCI } from 'std-env'
export default defineVitestConfig({
define: {
'process.test': 'true',
},
test: {
reporters: isCI ? ['default', 'hanging-process'] : ['default'],
setupFiles: [
'/tests/setup.ts',
],
},
})