Skip to content

Commit

Permalink
increase code coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
zhaoyongjie committed Nov 25, 2021
1 parent c539787 commit c26d3a9
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions superset-frontend/jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,21 @@ module.exports = {
setupFiles: ['<rootDir>/spec/helpers/setupPlugins.ts'],
modulePathIgnorePatterns: ['<rootDir>/temporary_superset_ui'],
moduleNameMapper,
collectCoverageFrom: [
'src/**/*.{js,jsx,ts,tsx}',
'{packages,plugins}/**/src/**/*.{js,jsx,ts,tsx}',
'!**/*.stories.*',
'!packages/superset-ui-demo/**/*',
],
coverageDirectory: '<rootDir>/coverage/',
coveragePathIgnorePatterns: [
'coverage/',
'node_modules/',
'public/',
'tmp/',
'dist/',
],
coverageReporters: ['lcov', 'json-summary', 'html'],
},
],
};

0 comments on commit c26d3a9

Please sign in to comment.