File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 23
23
"test:unit" : " NODE_ENV=test nyc --all --include \" src/**/*.ts\" mocha -r ts-node/register \" test/unit/**/*.spec.ts\" " ,
24
24
"test:unit:ci" : " NODE_ENV=test nyc --reporter=lcov --all --include \" src/**/*.ts\" mocha -r ts-node/register \" test/unit/**/*.spec.ts\" " ,
25
25
"test:e2e" : " SERVER_PORT=0 mocha --timeout 30000 -r ts-node/register -r dotenv/config \" test/e2e/**/*.spec.ts\" " ,
26
- "test:docker" : " docker-compose -f docker-compose.e2e.yml up --abort-on-container-exit --exit-code-from backend" ,
27
26
"postinstall" : " env-prompt -d .env.sample && task build" ,
28
27
"init" : " mkdir dist" ,
29
28
"prebuild" : " yarn run clean && yarn run init" ,
86
85
"resolutions" : {
87
86
"lodash" : " 4.17.19"
88
87
}
89
- }
88
+ }
Original file line number Diff line number Diff line change @@ -25,7 +25,8 @@ function build(): void {
25
25
}
26
26
27
27
function e2e ( ) : void {
28
- sh ( "docker-compose run -e NODE_ENV=test --rm backend yarn run test:e2e" , { async : false , nopipe : true } ) ;
28
+ sh ( "docker-compose -f docker-compose.e2e.yml up --abort-on-container-exit --exit-code-from backend" ,
29
+ { async : false , nopipe : true } ) ;
29
30
}
30
31
31
32
function unit ( ) : void {
You can’t perform that action at this time.
0 commit comments