File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 17
17
"clean" : " rimraf dist" ,
18
18
"clean:node" : " rimraf node_modules" ,
19
19
"purge" : " yarn clean && yarn clean:node && yarn run rimraf yarn.lock" ,
20
- "test" : " cleanup() { echo 'Cleanup started'; yarn stop-services; }; trap cleanup EXIT; yarn test:unit && yarn start-services && yarn test:db" ,
20
+ "test" : " cleanup() { echo 'Cleanup started'; yarn stop-services; }; trap cleanup EXIT; yarn test:unit && yarn test:db" ,
21
21
"test:unit" : " TS_NODE_FILES=true mocha --opts mocha.opts './**/*.spec.ts' --exclude './node_modules/**'" ,
22
- "test:db" : " . $(leeway run components/gitpod-db:db-test-env) && TS_NODE_FILES=true mocha --opts mocha.opts './**/*.spec.db.ts' --exclude './node_modules/**'" ,
22
+ "test:db" : " . $(leeway run components/gitpod-db:db-test-env) && yarn start-services && TS_NODE_FILES=true mocha --opts mocha.opts './**/*.spec.db.ts' --exclude './node_modules/**'" ,
23
23
"start-services" : " yarn start-testdb && yarn start-redis && yarn start-spicedb" ,
24
24
"stop-services" : " yarn stop-redis && yarn stop-spicedb" ,
25
25
"start-testdb" : " if netstat -tuln | grep ':23306 '; then echo 'Mysql is already running.'; else leeway run components/gitpod-db:init-testdb; fi" ,
You can’t perform that action at this time.
0 commit comments