Explorar o código

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 %!s(int64=4) %!d(string=hai) anos
pai
achega
e536db9b7e
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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