Skip to content

Commit

Permalink
fix coverage output
Browse files Browse the repository at this point in the history
  • Loading branch information
briangann committed Mar 29, 2024
1 parent 6f81312 commit cca94bf
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,7 @@ process.env.TZ = 'UTC';
module.exports = {
// Jest configuration provided by Grafana scaffolding
...require('./.config/jest.config'),
collectCoverage: true,
collectCoverageFrom: ['<rootDir>/src/**/__tests__/**/*.{js,jsx,ts,tsx}', '<rootDir>/src/**/*.{js,jsx,ts,tsx}'],
coveragePathIgnorePatterns: ['<rootDir>/src/libs/'],
};

0 comments on commit cca94bf

Please sign in to comment.