Skip to content

Commit

Permalink
chore: [SIG-583]: jest coverage setup - page publish test
Browse files Browse the repository at this point in the history
  • Loading branch information
SagarRajput-7 committed Apr 24, 2024
1 parent fb5961b commit 023b2ab
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/jest-coverage-report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- name: Install dependencies
run: cd frontend && npm install -g yarn && yarn
- run: yarn
- run: cd frontend && yarn jest --coverage --coverageReporters=lcov
- run: cd frontend && npm run i18n:generate-hash && npm run test --silent
- name: Setup Pages
uses: actions/configure-pages@v2
- name: Upload artifact
Expand Down
2 changes: 1 addition & 1 deletion frontend/jest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import type { Config } from '@jest/types';
const config: Config.InitialOptions = {
clearMocks: true,
coverageDirectory: 'coverage',
coverageReporters: ['text', 'cobertura', 'html', 'json-summary'],
coverageReporters: ['text', 'cobertura', 'html', 'json-summary', 'lcov'],
moduleFileExtensions: ['ts', 'tsx', 'js', 'json'],
collectCoverageFrom: ['src/**/*.{ts,tsx}'],
modulePathIgnorePatterns: ['dist'],
Expand Down

0 comments on commit 023b2ab

Please sign in to comment.