mirror of
https://github.com/discordjs/discord.js.git
synced 2024-08-21 16:44:46 +12:00
a1605b3a5e
* build: update vite and other related dependencies * chore: use `"errors-only"`
24 lines
666 B
TypeScript
24 lines
666 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'],
|
|
provider: 'v8',
|
|
include: ['src'],
|
|
exclude: [
|
|
// All ts files that only contain types, due to ALL
|
|
'**/*.{interface,type,d}.ts',
|
|
'**/{interfaces,types}/*.ts',
|
|
// All index files that *should* only contain exports from other files
|
|
'**/index.{js,ts}',
|
|
// All exports files that make subpackages available as submodules
|
|
'**/exports/*.{js,ts}',
|
|
],
|
|
},
|
|
},
|
|
});
|