mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 08:03:30 +01:00
* build: bump `@vladfrangu/async_event_emitter` * chore: bump again + fixes * build: bump types/node and some dev deps * build: bump discord-api-types again * style: remove unused eslint-ignore comment * build: sync dependencies and update templates * build: bump turbo * build: vercel + vitest * build: bump undici --------- Co-authored-by: Vlad Frangu <me@vladfrangu.dev>
29 lines
748 B
TypeScript
29 lines
748 B
TypeScript
import { defineConfig } from 'vitest/config';
|
|
|
|
export default defineConfig({
|
|
test: {
|
|
exclude: ['**/node_modules', '**/dist', '.idea', '.git', '.cache'],
|
|
passWithNoTests: true,
|
|
typecheck: {
|
|
enabled: true,
|
|
include: ['**/__tests__/types.test.ts'],
|
|
},
|
|
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}',
|
|
],
|
|
},
|
|
},
|
|
});
|