Skip to content

Commit

Permalink
Dev: Don't collect coverage for Jest ESLint config file [fix]
Browse files Browse the repository at this point in the history
  • Loading branch information
overlookmotel committed Sep 3, 2023
1 parent 723df96 commit c3d4076
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,13 @@ module.exports = {
runner: '<rootDir>/test/support/runner.mjs',
coverageDirectory: 'coverage',
coverageProvider: 'v8',
collectCoverageFrom: ['*.js', '!.eslintrc.js', '!jest.config.js', 'lib/**/*.js'],
collectCoverageFrom: [
'*.js',
'!.eslintrc.js',
'!jest.config.js',
'!jest-eslint.config.js',
'lib/**/*.js'
],
setupFilesAfterEnv: [
'jest-extended/all',
'jest-expect-arguments',
Expand Down

0 comments on commit c3d4076

Please sign in to comment.