feat: codecov (#8219)

This commit is contained in:
ckohen
2022-07-03 06:33:18 -07:00
committed by GitHub
parent d95197cc78
commit f10f4cdcd8
13 changed files with 96 additions and 3 deletions

View File

@@ -2,12 +2,15 @@ import { defineConfig } from 'vitest/config';
export default defineConfig({
test: {
exclude: ['**/node_modules', '**/dist', '.idea', '.git', '.cache', 'packages/discord.js', 'packages/voice'],
exclude: ['**/node_modules', '**/dist', '.idea', '.git', '.cache'],
passWithNoTests: true,
coverage: {
enabled: true,
all: true,
reporter: ['text', 'lcov', 'clover'],
exclude: ['**/dist', '**/__tests__'],
include: ['src'],
// All ts files that only contain types, due to ALL
exclude: ['**/*.{interface,type,d}.ts'],
},
},
});