Skip to content

Commit

Permalink
fix: spec results
Browse files Browse the repository at this point in the history
  • Loading branch information
bahmutov committed Oct 17, 2023
1 parent 1705841 commit d79b939
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/timings.js
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ function mergeSplitTimings(timings, debug = noop) {
specResults[item.spec] = item.duration
} else {
// pick the max spec duration
const maxDuration = Math.max(item.duration, specResult[item.spec])
const maxDuration = Math.max(item.duration, specResults[item.spec])
specResults[item.spec] = maxDuration
}
})
Expand Down

0 comments on commit d79b939

Please sign in to comment.