Skip to content

Commit 9471ff2

Browse files
committed
Launch all test suites using the npm test script
1 parent 4800be9 commit 9471ff2

File tree

2 files changed

+33
-14
lines changed

2 files changed

+33
-14
lines changed

package-lock.json

Lines changed: 30 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 & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@
77
"npm": ">=6.7.0"
88
},
99
"scripts": {
10-
"test": "NODE_ENV=test jest",
11-
"test:unit": "NODE_ENV=test jest --watch",
12-
"test:features": "./node_modules/.bin/cucumber-js -p default",
10+
"test": "npm run test:unit && npm run test:features",
11+
"test:unit": "NODE_ENV=test jest",
12+
"test:features": "NODE_ENV=test cucumber-js -p default",
1313
"start": "NODE_ENV=production node dist/src/apps/mooc_backend/server",
1414
"build": "npm run build:clean && npm run build:tsc && npm run build:di",
1515
"build:tsc": "tsc -p tsconfig.prod.json",

0 commit comments

Comments
 (0)