diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index a1d86fb8..b69dc9cf 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -26,4 +26,5 @@ jobs: node-version: ${{ matrix.node-version }} - run: npm i -g npm@8 - run: npm ci - - run: npm test + - run: npm run test + - run: npm run test:mocha diff --git a/package.json b/package.json index 53739d7f..f4739bc4 100644 --- a/package.json +++ b/package.json @@ -37,6 +37,7 @@ "jest": "npx jest", "start": "cds watch fiori", "test": "npm run jest -- --silent", + "test:mocha": "npx mocha --parallel --recursive --timeout 20000", "test:hello": "cd hello && npm test" }, "jest": {