Skip to content

Commit

Permalink
chore: Lint happy
Browse files Browse the repository at this point in the history
  • Loading branch information
dignifiedquire committed Aug 28, 2015
1 parent d15ed50 commit a8fdae5
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions lib/reporter.js
Original file line number Diff line number Diff line change
Expand Up @@ -151,12 +151,14 @@ var CoverageReporter = function (rootConfig, helper, logger) {
var coverageFailed = false

function check (name, thresholds, actuals) {
[
var keys = [
'statements',
'branches',
'lines',
'functions'
].forEach(function (key) {
]

keys.forEach(function (key) {
var actual = actuals[key].pct
var actualUncovered = actuals[key].total - actuals[key].covered
var threshold = thresholds[key]
Expand Down

0 comments on commit a8fdae5

Please sign in to comment.