Skip to content

Commit

Permalink
Select correct Jest reporter for CI/non-CI
Browse files Browse the repository at this point in the history
Signed-off-by: Levi Pesin <[email protected]>
  • Loading branch information
LeviPesin committed Jul 6, 2024
1 parent ef291da commit 795519d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@ export default {

testMatch: ["<rootDir>/**/*.test.js"],

reporters: [['github-actions', { silent: false }], 'summary']
reporters: process.env.CI === 'true' ? [['github-actions', { silent: false }], 'summary'] : ['default']
};

0 comments on commit 795519d

Please sign in to comment.