Skip to content

Commit aef25de

Browse files
committed
test(request-manager): make tests retry
1 parent 8aa03be commit aef25de

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed
+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
const baseConfig = require('../../jest.config.base.js');
2+
3+
module.exports = {
4+
...baseConfig,
5+
testRetryTimes: 3,
6+
};

packages/request-manager/package.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,9 @@
66
"sideEffects": false,
77
"main": "src/index.ts",
88
"scripts": {
9-
"test:unit": "yarn g:jest --testPathIgnorePatterns e2e -c ../../jest.config.base.js",
10-
"test:e2e": "yarn g:jest --runInBand -c ../../jest.config.base.js",
9+
"test:all": "yarn g:jest --runInBand -c jest.config.js",
10+
"test:unit": "yarn g:jest --testPathIgnorePatterns e2e -c jest.config.js",
11+
"test:e2e": "yarn g:jest --runInBand --testPathIgnorePatterns tests -c jest.config..js",
1112
"type-check": "yarn g:tsc --build tsconfig.json",
1213
"test:stress": "ts-node -O '{\"module\": \"commonjs\"}' ./e2e/identities-stress.ts"
1314
},

0 commit comments

Comments
 (0)