Skip to content

Commit

Permalink
test: just collect basic module
Browse files Browse the repository at this point in the history
  • Loading branch information
cycleccc committed Sep 12, 2024
1 parent 1abb76f commit 88f7762
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,10 @@ module.exports = {
},
transformIgnorePatterns: ['node_modules/(?!(html-void-elements)/)'],
setupFilesAfterEnv: ['<rootDir>/tests/setup/index.ts'],
collectCoverageFrom: ['<rootDir>/packages/**/src/**/*.(ts|tsx)'],
// just collect basic module
collectCoverageFrom: [
'<rootDir>/packages/{basic-modules,code-highlight,core,editor,list-module,table-module,upload-image-module,video-module}/src/**/*.(ts|tsx)',
],
coveragePathIgnorePatterns: [
'dist',
'locale',
Expand Down

0 comments on commit 88f7762

Please sign in to comment.