浏览代码

Fix: change test script for Travis

febbweiss 10 年之前
父节点
当前提交
ebf7b324d9
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      package.json

+ 2 - 2
package.json

@@ -25,8 +25,8 @@
     "supertest": "~1.0.1"
     "supertest": "~1.0.1"
   },
   },
   "scripts": {
   "scripts": {
-    "test": "NODE_ENV=test mocha",
-    "test_travis": "NODE_ENV=test ./node_modules/istanbul/lib/cli.js cover ./node_modules/mocha/bin/_mocha -- -R spec",
+    "test-local": "NODE_ENV=test mocha",
+    "test": "NODE_ENV=test ./node_modules/istanbul/lib/cli.js cover ./node_modules/mocha/bin/_mocha -- -R spec",
     "start": "app.js",
     "start": "app.js",
     "stop": "pkill -SIGINT CloudBudget"
     "stop": "pkill -SIGINT CloudBudget"
   }
   }