mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +01:00
feat: codecov (#8219)
This commit is contained in:
@@ -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'],
|
||||
},
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user