mirror of
https://github.com/elk-zone/elk.git
synced 2024-11-08 01:49:58 +00:00
chore(test): add hanging-process
reporter on CI (#2622)
This commit is contained in:
parent
edcc8741bf
commit
6f20ce5bba
1 changed files with 2 additions and 0 deletions
|
@ -1,10 +1,12 @@
|
|||
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',
|
||||
],
|
||||
|
|
Loading…
Reference in a new issue