From 1d3842576839b763b28a777e96b061dbd4d01a80 Mon Sep 17 00:00:00 2001 From: Johnny Estilles Date: Mon, 20 Apr 2015 23:18:04 +0800 Subject: [PATCH] chore: added chai-as-promise to handle methods that return promises --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 3ea6a6d..b799707 100644 --- a/package.json +++ b/package.json @@ -27,7 +27,7 @@ "scripts": { "pre-test": "grunt", "test": "mocha -R spec test/**/*.spec.js", - "coverage": "istanbul cover node_modules/.bin/_mocha" + "coverage": "istanbul cover node_modules/.bin/_mocha -- -R dot" }, "dependencies": { "commander": "^2.8.0", @@ -41,6 +41,7 @@ }, "devDependencies": { "chai": "^2.2.0", + "chai-as-promised": "^5.0.0", "grunt": "^0.4.5", "grunt-contrib-clean": "^0.6.0", "grunt-contrib-jshint": "^0.11.2",