Skip to content

Commit

Permalink
Merge add91b3 into bedf8fc
Browse files Browse the repository at this point in the history
  • Loading branch information
bcoe committed Feb 12, 2019
2 parents bedf8fc + add91b3 commit 4bc27e2
Show file tree
Hide file tree
Showing 4 changed files with 124 additions and 48 deletions.
15 changes: 10 additions & 5 deletions lib/parse-args.js
Expand Up @@ -32,23 +32,28 @@ function buildYargs (withCommands = false) {
})
.option('branches', {
default: 0,
description: 'what % of branches must be covered?'
description: 'what % of branches must be covered?',
type: 'number'
})
.option('functions', {
default: 0,
description: 'what % of functions must be covered?'
description: 'what % of functions must be covered?',
type: 'number'
})
.option('lines', {
default: 90,
description: 'what % of lines must be covered?'
description: 'what % of lines must be covered?',
type: 'number'
})
.option('statements', {
default: 0,
description: 'what % of statements must be covered?'
description: 'what % of statements must be covered?',
type: 'number'
})
.option('per-file', {
default: false,
description: 'check thresholds per file'
description: 'check thresholds per file',
type: 'boolean'
})
.option('temp-directory', {
default: './coverage/tmp',
Expand Down
125 changes: 98 additions & 27 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -43,7 +43,7 @@
"test-exclude": "^5.0.0",
"uuid": "^3.3.2",
"v8-to-istanbul": "^2.0.2",
"yargs": "^12.0.5",
"yargs": "^13.1.0",
"yargs-parser": "^10.1.0"
},
"devDependencies": {
Expand Down

0 comments on commit 4bc27e2

Please sign in to comment.