From 3cf06ebb864d3752cd064196108b7b3693a4d631 Mon Sep 17 00:00:00 2001 From: "James G. Kim" Date: Tue, 1 Dec 2015 19:58:05 +0900 Subject: [PATCH] Updated `package.json` to prevent run tests in `coverage` --- package.json | 6 +++--- tests/mocha.opts | 1 - 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 73073eb..b1293d0 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "mocha-gherkin", - "version": "0.1.13", + "version": "0.1.14", "description": "mocha-gherkin is a Gherkin-style interface and reporter add-on for mocha.", "keywords": [ "mocha", @@ -22,9 +22,9 @@ "build": "gulp build", "lint": "eslint .", "pretest": "ln -sfn .. ./node_modules/mocha-gherkin", - "test": "mocha --opts tests/mocha.opts tests", + "test": "mocha --opts tests/mocha.opts tests/addition.feature.js", "precover": "ln -sfn .. ./node_modules/mocha-gherkin", - "cover": "istanbul cover `npm bin`/_mocha -- --opts tests/mocha.opts tests", + "cover": "istanbul cover `npm bin`/_mocha -- --opts tests/mocha.opts tests/addition.feature.js", "postcover": "remap-istanbul -i ./tests/coverage/coverage-final.json -o ./tests/coverage/lcov-remapped.info -t lcovonly", "precoveralls": "npm run cover", "coveralls": "cat ./tests/coverage/lcov-remapped.info | `npm bin`/coveralls", diff --git a/tests/mocha.opts b/tests/mocha.opts index 94a04d8..cec9093 100644 --- a/tests/mocha.opts +++ b/tests/mocha.opts @@ -3,4 +3,3 @@ --reporter build/spec --compilers js:babel-core/register --timeout 500 ---recursive