From ed376a6daebbd2c16820b5154fb15154ff4b34cd Mon Sep 17 00:00:00 2001 From: Cyrille Date: Thu, 9 May 2019 10:07:11 +0100 Subject: [PATCH] Fix for coverage --- .circleci/config.yml | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index a29b220..69f2135 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -10,7 +10,7 @@ jobs: - run: npm run coverage - run: npm run clean - store_artifacts: - path: .nyc_output + path: ./coverage workflows: version: 2 diff --git a/package.json b/package.json index cd3b685..353b028 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,7 @@ "scripts": { "test": "node ./test.js", "clean": "node ./clean.js", - "coverage": "nyc --reporter=lcovonly npm run test | codacy-coverage" + "coverage": "nyc --reporter=lcovonly --report-dir=./coverage npm run test | codacy-coverage" }, "repository": { "type": "git",