Skip to content

Commit

Permalink
Including other extensions in jest coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
araujoarthur0 committed Jan 30, 2024
1 parent 4c076f1 commit e54eca4
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
@@ -1,7 +1,7 @@
module.exports = {
collectCoverage: true,
coverageDirectory: 'coverage_jest',
collectCoverageFrom: ['js/**.js','js/classes/**.js','src/**.js','./main.js'],
collectCoverageFrom: ['js/**.{cjs,js,mjs}','js/classes/**.{cjs,js,mjs}','src/**.{cjs,js,mjs}','./main.{cjs,js,mjs}'],
projects: [
{
displayName: ' MAIN',
Expand Down

0 comments on commit e54eca4

Please sign in to comment.