Skip to content

Commit 67bc85d

Browse files
Make sure the tests fail when required and do not use --forceExit, it's a debug measurement
Signed-off-by: Xavier Geerinck <[email protected]>
1 parent d345a29 commit 67bc85d

File tree

2 files changed

+15
-15
lines changed

2 files changed

+15
-15
lines changed

package-lock.json

Lines changed: 12 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
"types": "http/index.d.ts",
66
"scripts": {
77
"test": "npm run test:unit:all && npm run test:e2e:all",
8-
"test:load": "jest --runInBand --detectOpenHandles --forceExit",
8+
"test:load": "jest --runInBand",
99
"test:load:http": "TEST_SECRET_1=secret_val_1 TEST_SECRET_2=secret_val_2 dapr run --app-id test-suite --app-protocol http --app-port 50001 --dapr-http-port 50000 --components-path ./test/components npm run test:load 'test/load'",
10-
"test:e2e": "jest --runInBand --detectOpenHandles --forceExit",
10+
"test:e2e": "jest --runInBand",
1111
"test:e2e:all": "npm run test:e2e:grpc:main && npm run test:e2e:http:main && npm run test:e2e:http:actors",
1212
"test:e2e:grpc:main": "TEST_SECRET_1=secret_val_1 TEST_SECRET_2=secret_val_2 dapr run --app-id test-suite --app-protocol grpc --app-port 50001 --dapr-grpc-port 50000 --components-path ./test/components npm run test:e2e 'test/e2e/main.grpc.test.ts'",
1313
"test:e2e:http:main": "TEST_SECRET_1=secret_val_1 TEST_SECRET_2=secret_val_2 dapr run --app-id test-suite --app-protocol http --app-port 50001 --dapr-http-port 50000 --components-path ./test/components npm run test:e2e 'test/e2e/main.http.test.ts'",
@@ -47,8 +47,7 @@
4747
"jest": "^27.2.0",
4848
"nodemon": "^2.0.12",
4949
"prettier": "^2.4.0",
50-
"ts-jest": "^27.0.5",
51-
"typescript": "^4.4.4"
50+
"ts-jest": "^27.0.5"
5251
},
5352
"repository": {
5453
"type": "git",

0 commit comments

Comments
 (0)