Skip to content

Commit

Permalink
ci: forceExit and bail tests
Browse files Browse the repository at this point in the history
Signed-off-by: Timo Glastra <timo@animo.id>
  • Loading branch information
TimoGlastra committed Feb 5, 2023
1 parent acdb20a commit c0a2e25
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ jobs:
run: yarn install

- name: Run tests
run: TEST_AGENT_PUBLIC_DID_SEED=${TEST_AGENT_PUBLIC_DID_SEED} GENESIS_TXN_PATH=${GENESIS_TXN_PATH} yarn test --coverage
run: TEST_AGENT_PUBLIC_DID_SEED=${TEST_AGENT_PUBLIC_DID_SEED} GENESIS_TXN_PATH=${GENESIS_TXN_PATH} yarn test --coverage --forceExit --bail

- uses: codecov/codecov-action@v1
if: always()
Expand Down
2 changes: 1 addition & 1 deletion packages/anoncreds/jest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const config: Config.InitialOptions = {
...base,
name: packageJson.name,
displayName: packageJson.name,
// setupFilesAfterEnv: ['./tests/setup.ts'],
setupFilesAfterEnv: ['./tests/setup.ts'],
}

export default config
1 change: 1 addition & 0 deletions packages/anoncreds/tests/setup.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
jest.setTimeout(10000)

0 comments on commit c0a2e25

Please sign in to comment.