Skip to content

Commit 3c9bdaa

Browse files
committed
updating coveralls version, ensuring node_env is test before sending coverage to coveralls
1 parent b939ee4 commit 3c9bdaa

File tree

2 files changed

+2
-316
lines changed

2 files changed

+2
-316
lines changed

package-lock.json

Lines changed: 0 additions & 314 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"babel-preset-react": "^6.24.1",
2222
"babel-preset-stage-0": "^6.24.1",
2323
"chai": "^4.1.2",
24-
"coveralls": "^3.0.1",
24+
"coveralls": "^3.1.0",
2525
"css-loader": "^4.2.2",
2626
"enzyme": "^3.2.0",
2727
"enzyme-adapter-react-16": "^1.1.1",
@@ -66,7 +66,7 @@
6666
"modules:size-analyzer": "webpack --config webpack/webpack.config.js --json | webpack-bundle-size-analyzer",
6767
"test": "npm run test:unit && npm run test:coverage",
6868
"test:unit": "nyc mocha test/**/*-test.js",
69-
"test:coverage": "nyc report --reporter=text-lcov | coveralls",
69+
"test:coverage": "NODE_ENV=test nyc report --reporter=text-lcov | coveralls",
7070
"test:watch": "nyc mocha -w test/**/*-test.js",
7171
"lint": "./node_modules/.bin/eslint src",
7272
"lint-fixup": "./node_modules/.bin/eslint src --ext .js,.jsx --fix",

0 commit comments

Comments
 (0)