Execute mocha tests as well
This commit is contained in:
3
.github/workflows/node.js.yml
vendored
3
.github/workflows/node.js.yml
vendored
@@ -26,4 +26,5 @@ jobs:
|
|||||||
node-version: ${{ matrix.node-version }}
|
node-version: ${{ matrix.node-version }}
|
||||||
- run: npm i -g npm@8
|
- run: npm i -g npm@8
|
||||||
- run: npm ci
|
- run: npm ci
|
||||||
- run: npm test
|
- run: npm run test
|
||||||
|
- run: npm run test:mocha
|
||||||
|
|||||||
@@ -29,6 +29,7 @@
|
|||||||
"jest": "npx jest",
|
"jest": "npx jest",
|
||||||
"start": "cds watch fiori",
|
"start": "cds watch fiori",
|
||||||
"test": "npm run jest -- --silent",
|
"test": "npm run jest -- --silent",
|
||||||
|
"test:mocha": "npx mocha --timeout 10000",
|
||||||
"test:hello": "cd hello && npm test"
|
"test:hello": "cd hello && npm test"
|
||||||
},
|
},
|
||||||
"jest": {
|
"jest": {
|
||||||
|
|||||||
Reference in New Issue
Block a user