discord.js/vitest.config.ts

17 lines
401 B
TypeScript
Raw Normal View History

import { defineConfig } from 'vitest/config';
export default defineConfig({
test: {
2022-07-04 01:33:18 +12:00
exclude: ['**/node_modules', '**/dist', '.idea', '.git', '.cache'],
passWithNoTests: true,
coverage: {
enabled: true,
2022-07-04 01:33:18 +12:00
all: true,
reporter: ['text', 'lcov', 'clover'],
2022-07-04 01:33:18 +12:00
include: ['src'],
// All ts files that only contain types, due to ALL
exclude: ['**/*.{interface,type,d}.ts'],
},
},
});