Remove unused GitHub reporter
All checks were successful
/ build (push) Successful in 3m56s
/ check-changes (push) Successful in 6s

This commit is contained in:
Djuri 2024-12-26 15:56:55 +01:00
parent bd6e938335
commit b9c08dec64
3 changed files with 3 additions and 40 deletions

View file

@ -1,6 +1,5 @@
import { sveltekit } from '@sveltejs/kit/vite';
import { defineConfig } from 'vite';
import GithubActionsReporter from 'vitest-github-actions-reporter';
// import { visualizer } from 'rollup-plugin-visualizer';
import * as fs from 'fs';
@ -100,8 +99,7 @@ export default defineConfig({
test: {
include: ['src/**/*.{test,spec}.{js,ts}'],
globals: true,
environment: 'jsdom',
reporters: process.env.GITHUB_ACTIONS ? ['default', new GithubActionsReporter()] : 'default'
environment: 'jsdom'
},
define: {
'process.env.NODE_ENV': JSON.stringify(process.env.NODE_ENV)