Skip to content

Commit

Permalink
test: don't collect coverage from .tsx?
Browse files Browse the repository at this point in the history
  • Loading branch information
sorrycc committed Oct 30, 2018
1 parent f125673 commit 3961823
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ module.exports = {
'/packages/umi-plugin-dva/src/fixtures',
'/packages/umi-utils/src/fixtures',
],
collectCoverageFrom: ['packages/**/src/**/*.{ts,tsx,js,jsx}'],
collectCoverageFrom: ['packages/**/src/**/*.{js,jsx}'],
coveragePathIgnorePatterns: ['/packages/umi-plugin-dva/src/fixtures'],
};

0 comments on commit 3961823

Please sign in to comment.