From 242760ebb3b0ec50c63a1b317ab0880b28ce3669 Mon Sep 17 00:00:00 2001 From: Nikolay Makhonin Date: Mon, 9 Sep 2019 07:50:36 +0300 Subject: [PATCH] Fix coverage --- .nycrc.json | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.nycrc.json b/.nycrc.json index 7711922..391e60d 100644 --- a/.nycrc.json +++ b/.nycrc.json @@ -3,8 +3,8 @@ "src/**/*.js" ], "reporter": [ - "json" + "lcov" ], "temp-dir": "./tmp/coverage/nyc/tmp", - "report-dir": "./tmp/coverage/nyc/json" + "report-dir": "./tmp/coverage/nyc/lcov" } \ No newline at end of file diff --git a/package.json b/package.json index 40182dd..6797e96 100644 --- a/package.json +++ b/package.json @@ -13,7 +13,7 @@ "build": "node-gyp configure && node-gyp build", "test": "mocha", "watch": "mocha --watch --watch-extensions .*", - "ci": "npm run lint && nyc npm run test && ncat tmp/coverage/all/lcov/**/lcov.info --banner \"\" | coveralls" + "ci": "npm run lint && nyc npm run test && ncat tmp/coverage/nyc/lcov/lcov.info --banner \"\" | coveralls" }, "keywords": [ "native",