diff --git a/Jenkinsfile b/Jenkinsfile index cf5a0eff1c..dfef29c583 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -87,7 +87,7 @@ pipeline { expression { !PROTECTED_BRANCH } } environment { - NODE_ENV = "" + NODE_ENV = '' CI = 'true' TZ = 'Europe/Madrid' } diff --git a/vitest.config.js b/vitest.config.js index af12d8fb56..f856a1dc94 100644 --- a/vitest.config.js +++ b/vitest.config.js @@ -6,11 +6,11 @@ import VueI18nPlugin from '@intlify/unplugin-vue-i18n/vite'; import path from 'path'; let reporters, - junit; + outputFile; if (process.env.CI) { - reporters = 'junit'; - junit = {outputFile: './junit/vitest.xml'}; + reporters = ['junit', 'default']; + outputFile = {junit: './junit/vitest.xml'}; } else { reporters = 'default'; } @@ -19,7 +19,7 @@ if (process.env.CI) { export default defineConfig({ test: { reporters, - junit, + outputFile, environment: 'happy-dom', setupFiles: 'test/vitest/setup-file.js', include: [