From 606cdaadbbdbc8c8225d941a74604593caaf2f40 Mon Sep 17 00:00:00 2001 From: Manuel Vilche Date: Fri, 20 Nov 2020 15:59:44 -0300 Subject: [PATCH] fix command test-ci --- .github/workflows/coverage-status.yml | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/coverage-status.yml b/.github/workflows/coverage-status.yml index bd85f03..b961b9a 100644 --- a/.github/workflows/coverage-status.yml +++ b/.github/workflows/coverage-status.yml @@ -19,7 +19,7 @@ jobs: - name: npm install, make test-coverage run: | npm install - npm run coverage + npm run test-ci - name: Coveralls uses: coverallsapp/github-action@master with: diff --git a/package.json b/package.json index 460effc..c8154ef 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ "lint": "eslint index.js lib/ tests/", "test": "export TEST_ENV=true; mocha --exit -R nyan --recursive tests/", "watch-test": "export TEST_ENV=true; mocha --exit -R nyan -w --recursive tests/", - "test-ci": "nyc --reporter=html --reporter=text mocha --recursive tests/", + "test-ci": "nyc --reporter=lcov --reporter=text-summary mocha --exit --recursive tests/", "coverage": "nyc npm test" }, "repository": {