Skip to content

Commit a3e1821

Browse files
authored
Exclude Jest config.ts files from coverage (#340)
1 parent af92944 commit a3e1821

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.changeset/swift-ads-arrive.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'skuba': patch
3+
---
4+
5+
**test:** Exclude Jest `config.ts` files from coverage

jest-preset.js

+1
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ module.exports = {
3232
'!<rootDir>/dist*/**',
3333
'!<rootDir>/lib*/**',
3434
'!<rootDir>/tmp*/**',
35+
'!<rootDir>/jest.*.ts',
3536
],
3637
coverageDirectory: 'coverage',
3738
moduleNameMapper: {

0 commit comments

Comments
 (0)