瀏覽代碼

tests config

sanex3339 9 年之前
父節點
當前提交
8015679fe9
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      package.json

+ 1 - 1
package.json

@@ -45,7 +45,7 @@
     "lite": "lite-server",
     "start": "concurrent \"npm run tsc:w\" \"npm run lite\" ",
     "test:dev": "node test/dev/test.js",
-    "test:mocha": "mocha --require ts-node/register test/**/*.ts",
+    "test:mocha": "mocha --require ts-node/register test/**/*.spec.ts",
     "test": "npm run test:dev && npm run test:mocha",
     "typings": "node_modules/.bin/typings install"
   },