Skip to content

Commit

Permalink
test(jest): set reporters to github-actions in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
remarkablemark committed Feb 9, 2024
1 parent f910664 commit 4310bf3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions jest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ const config: Config = {
},
},
preset: 'ts-jest',
reporters:
process.env.CI === 'true'
? [['github-actions', { silent: false }], 'summary']
: undefined,
testMatch: ['**/__tests__/**/*.test.ts?(x)'],
};

Expand Down

0 comments on commit 4310bf3

Please sign in to comment.