We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 663d5a1 commit 8f1f009Copy full SHA for 8f1f009
1 file changed
vitest.config.ts
@@ -1,13 +1,10 @@
1
import { defineConfig, mergeConfig } from 'vitest/config'
2
import viteConfig from './vite.config'
3
4
-const isGithubActions = process.env.GITHUB_ACTIONS === 'true'
5
-
6
export default mergeConfig(
7
viteConfig,
8
defineConfig({
9
test: {
10
- reporters: isGithubActions ? 'github-actions' : 'tree',
11
setupFiles: './setupTests.ts',
12
environment: 'happy-dom',
13
},
0 commit comments