Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Watermarks allow a user to change the color thresholds for Red, Yellow, and Green for each of; statements, functions, branches, and lines.

Solves issue karma-runner#21
  • Loading branch information
stramel committed Jan 19, 2015
1 parent 0c99f75 commit 760c46e
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,22 @@ coverageReporter: {
}
```

#### watermarks
**Type:** Object

**Description:** This will be used to set the coverage threshold colors. The first number is the threshold between Red and Yellow. The second number is the threshold between Yellow and Green.

```javascript
coverageReporter: {
watermarks: {
statements: [ 50, 75 ],
functions: [ 50, 75 ],
branches: [ 50, 75 ],
lines: [ 50, 75 ]
}
}
```

#### multiple reporters
You can use multiple reporters, by providing array of options.

Expand Down

0 comments on commit 760c46e

Please sign in to comment.