mirror of
https://github.com/discordjs/discord.js.git
synced 2024-08-21 14:04:46 +12:00
bddb6a461c
Co-authored-by: ckohen <chaikohen@gmail.com>
20 lines
514 B
TypeScript
20 lines
514 B
TypeScript
import { defineConfig } from 'vitest/config';
|
|
|
|
export default defineConfig({
|
|
test: {
|
|
exclude: ['**/node_modules', '**/dist', '.idea', '.git', '.cache'],
|
|
passWithNoTests: true,
|
|
coverage: {
|
|
enabled: true,
|
|
all: true,
|
|
reporter: ['text', 'lcov', 'cobertura'],
|
|
include: ['src'],
|
|
exclude: [
|
|
// All ts files that only contain types, due to ALL
|
|
'**/*.{interface,type,d}.ts',
|
|
// All index files that *should* only contain exports from other files
|
|
'**/index.{js,ts}',
|
|
],
|
|
},
|
|
},
|
|
});
|