浏览代码

style: run tests via npm script insread of custom command

I.e. not call mocha directly but let the script defined in package.json do it's job.
rugk 4 年之前
父节点
当前提交
e536db9b7e
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      .github/workflows/tests.yml

+ 1 - 1
.github/workflows/tests.yml

@@ -116,6 +116,6 @@ jobs:
       working-directory: js
       
     - name: Run unit tests
-      run: mocha
+      run: npm test
       working-directory: js