Skip to content

Commit

Permalink
coverageReporters
Browse files Browse the repository at this point in the history
  • Loading branch information
annstriganova committed Dec 22, 2023
1 parent cd85045 commit 9447656
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,10 @@ const customJestConfig = {
setupFilesAfterEnv: ['<rootDir>/jest.setup.js'],
moduleDirectories: ['node_modules', '<rootDir>/'],
testEnvironment: 'jest-environment-jsdom',
reporters: ['default', ['jest-sonar',{ outputName: 'jest-sonar-coverage-report.xml'}]],
reporters: ['default', ['jest-sonar', { outputName: 'jest-sonar-coverage-report.xml'}]],
preset: 'ts-jest',
collectCoverage: true,
coverageReporters: ['lcov', 'clover'],
clearMocks: true,
globals: {
fetch
Expand Down

0 comments on commit 9447656

Please sign in to comment.