Skip to content

Commit

Permalink
Fix error and add settings for travis
Browse files Browse the repository at this point in the history
  • Loading branch information
snics committed May 22, 2018
1 parent 032c147 commit 5ba92ad
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion jest.config.js
Expand Up @@ -10,6 +10,6 @@ module.exports = {
'!**/vendor/**',
'!**/coverage/**'
],
coverageFormats: ['json', 'html'],
coverageReporters: ['json', 'lcov', 'text', 'html'],
testRegex: '(test|spec)\\.js?$'
};
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -17,7 +17,7 @@
"precommit": "lint-staged",
"prettier": "prettier --write lib/**/*.js",
"test:lint": "eslint .",
"test:jest": "jest --config ./jest.config.js",
"test:jest": "jest -i --reporters --config ./jest.config.js",
"test:watch": "jest --watch --config ./jest.config.js",
"test": "npm run test:lint && npm run test:jest"
},
Expand Down

0 comments on commit 5ba92ad

Please sign in to comment.