Skip to content

Commit

Permalink
chore: jest-circus to enable integ-tests retry (#492)
Browse files Browse the repository at this point in the history
* jest-circus to enable integ-tests retry

* increase retry to 10
  • Loading branch information
jsy1218 authored Feb 15, 2024
1 parent 3d85f5f commit e3b9a70
Show file tree
Hide file tree
Showing 3 changed files with 56 additions and 54 deletions.
105 changes: 53 additions & 52 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"fix:lint": "eslint src --ext .ts --fix",
"prepare-release": "run-s cov:check doc:html version doc:publish",
"test": "jest test/unit",
"integ-test": "TS_NODE=true jest test/integ"
"integ-test": "TS_NODE=true jest test/integ --testRunner='jest-circus/runner'"
},
"engines": {
"node": ">=10"
Expand Down Expand Up @@ -87,6 +87,7 @@
"eslint-plugin-import": "^2.22.0",
"hardhat": "^2.12.2",
"jest": "^27.0.6",
"jest-circus": "^27.5.1",
"jest-environment-hardhat": "^1.1.8",
"jest-expect-message": "^1.0.2",
"jest-mock": "^27.0.6",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ if (process.env.INTEG_TEST_DEBUG) {
);
}

jest.retryTimes(0);
jest.retryTimes(10);

describe('alpha router integration', () => {
let alice: JsonRpcSigner;
Expand Down

0 comments on commit e3b9a70

Please sign in to comment.