Skip to content

Commit 4310bf3

Browse files
test(jest): set reporters to github-actions in CI
1 parent f910664 commit 4310bf3

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

jest.config.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@ const config: Config = {
1111
},
1212
},
1313
preset: 'ts-jest',
14+
reporters:
15+
process.env.CI === 'true'
16+
? [['github-actions', { silent: false }], 'summary']
17+
: undefined,
1418
testMatch: ['**/__tests__/**/*.test.ts?(x)'],
1519
};
1620

0 commit comments

Comments
 (0)