From d4785eb013fd04fd219754453a1d2ba72022d647 Mon Sep 17 00:00:00 2001 From: Henrik Wenz Date: Fri, 12 Oct 2018 13:38:35 +0100 Subject: [PATCH] Fix coverage (#5435) * removed nyc in favor of jest * fixed coverage --- package.json | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index b0205d56..ff25f436 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,7 @@ "testall": "npm run testonly -- --coverage --forceExit --runInBand", "pretest": "npm run lint", "test": "cross-env npm run testall || npm run testall", - "coveralls": "nyc --instrument=false --source-map=false report --temp-directory=./coverage --reporter=text-lcov | coveralls", + "coveralls": "cat ./test/coverage/lcov.info | coveralls", "lint": "lerna run lint", "prepublish": "lerna run prepublish", "lint-staged": "lint-staged" @@ -45,7 +45,7 @@ "cheerio": "0.22.0", "chromedriver": "2.42.0", "clone": "2.1.1", - "coveralls": "2.13.1", + "coveralls": "3.0.2", "cross-env": "5.2.0", "express": "4.16.3", "fkill": "5.1.0", @@ -60,7 +60,6 @@ "node-fetch": "1.7.3", "node-notifier": "5.1.2", "node-sass": "4.9.2", - "nyc": "11.2.1", "pre-commit": "1.2.2", "react": "16.4.2", "react-dom": "16.4.2",