Browse Source

Add CI test script to package.json

rugk 2 năm trước cách đây
mục cha
commit
8443d3e397
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  1. 2 1
      js/package.json

+ 2 - 1
js/package.json

@@ -15,7 +15,8 @@
     "@peculiar/webcrypto": "^1.1.1"
   },
   "scripts": {
-    "test": "mocha"
+    "test": "mocha",
+    "ci-test": "mocha --reporter-option output=mocha-results.xml"
   },
   "repository": {
     "type": "git",