Skip to content

Commit 6c7dac3

Browse files
committed
Use exit flag on mocha to allow integration tests to exit as the previous 2.x version did
1 parent 4b0d3e7 commit 6c7dac3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ integration_tests:
3434
-v $(PWD):/ws \
3535
-w /ws \
3636
node:12.16.3-alpine \
37-
/bin/sh -c 'mkdir -p ws2 && apk --no-cache add python make g++ && cp -a src tests package.json tsconfig.json ws2/ && cd ws2 && npm i && ./node_modules/mocha/bin/mocha -r ./node_modules/ts-node/register tests/integration/**/*.ts'
37+
/bin/sh -c 'mkdir -p ws2 && apk --no-cache add python make g++ && cp -a src tests package.json tsconfig.json ws2/ && cd ws2 && npm i && ./node_modules/mocha/bin/mocha -r ./node_modules/ts-node/register --exit tests/integration/**/*.ts'
3838
docker-compose -f integration-tests/docker-compose.yml -p sandbox stop
3939

4040
.PHONY: compile

0 commit comments

Comments
 (0)