Skip to content

Commit

Permalink
fixup: jest config
Browse files Browse the repository at this point in the history
Signed-off-by: Todd Baert <[email protected]>
  • Loading branch information
toddbaert committed Feb 26, 2024
1 parent 3895a54 commit 52434f7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions jest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export default {
clearMocks: true,

// Indicates whether the coverage information should be collected while executing the test
collectCoverage: false,
collectCoverage: true,

// An array of glob patterns indicating a set of files for which coverage information should be collected
// collectCoverageFrom: undefined,
Expand Down Expand Up @@ -174,7 +174,7 @@ export default {
],

// Use this configuration option to add custom reporters to Jest
// reporters: [['github-actions', { silent: false }], 'summary'],
reporters: ['default', ['github-actions', { silent: false }], 'summary'],

// Automatically reset mock state before every test
// resetMocks: false,
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"private": true,
"description": "OpenFeature SDK for JavaScript",
"scripts": {
"test": "jest --selectProjects=shared --selectProjects=server --selectProjects=client",
"test": "jest --selectProjects=shared --selectProjects=server --selectProjects=client --silent",
"e2e-server": "git submodule update --init --recursive && shx cp test-harness/features/evaluation.feature packages/server/e2e/features && jest --selectProjects=server-e2e --verbose",
"e2e-client": "git submodule update --init --recursive && shx cp test-harness/features/evaluation.feature packages/client/e2e/features && jest --selectProjects=client-e2e --verbose",
"e2e": "npm run e2e-server && npm run e2e-client",
Expand Down

0 comments on commit 52434f7

Please sign in to comment.