mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 08:03:30 +01:00
chore: ignore index files in coverage (#8293)
Co-authored-by: ckohen <chaikohen@gmail.com>
This commit is contained in:
@@ -9,8 +9,12 @@ export default defineConfig({
|
||||
all: true,
|
||||
reporter: ['text', 'lcov', 'cobertura'],
|
||||
include: ['src'],
|
||||
// All ts files that only contain types, due to ALL
|
||||
exclude: ['**/*.{interface,type,d}.ts'],
|
||||
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}',
|
||||
],
|
||||
},
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user