Skip to content

Commit

Permalink
chore(jest): fix coverage reporter (#1861)
Browse files Browse the repository at this point in the history
  • Loading branch information
hiroppy authored and evilebottnawi committed May 13, 2019
1 parent 93ce712 commit decec40
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion jest.config.js
Expand Up @@ -2,7 +2,7 @@

module.exports = {
testURL: 'http://localhost/',
collectCoverage: true,
collectCoverage: false,
coveragePathIgnorePatterns: ['test'],
moduleFileExtensions: ['js', 'json'],
testMatch: ['**/test/**/*.test.js'],
Expand Down
6 changes: 3 additions & 3 deletions package.json
Expand Up @@ -17,10 +17,10 @@
"lint": "eslint bin lib test examples client-src",
"pretty": "prettier --loglevel warn --write \"**/*.{js,css,md,json,yml}\"",
"test:only": "jest --runInBand",
"test:watch": "jest --watch --runInBand",
"test:coverage": "jest --runInBand --collectCoverageFrom='src/**/*.js' --coverage",
"pretest": "npm run lint",
"test:coverage": "npm run test:only -- --coverage",
"test:watch": "npm run test:coverage --watch",
"test": "npm run test:coverage",
"pretest": "npm run lint",
"prepare": "rimraf ./ssl/*.pem && npm run -s transpile:index && npm run -s build:live && npm run -s build:index && npm run -s build:sockjs",
"transpile:index": "babel client-src/default --out-dir client --ignore *.config.js",
"build:index": "webpack ./client-src/default/index.js -o client/index.bundle.js --color --config client-src/default/webpack.config.js",
Expand Down

0 comments on commit decec40

Please sign in to comment.