mirror of
https://github.com/elk-zone/elk.git
synced 2024-11-08 01:49:58 +00:00
15 lines
310 B
TypeScript
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',
|
|
],
|
|
},
|
|
})
|