chore(test): add `hanging-process` reporter on CI (#2622)

main
Joaquín Sánchez 2024-02-25 15:13:27 +01:00 committed by GitHub
parent edcc8741bf
commit 6f20ce5bba
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 0 deletions

View File

@ -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',
],