• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

gulpjs / liftoff / 8305374279

16 Mar 2024 04:36AM UTC coverage: 99.525% (-0.5%) from 100.0%
8305374279

Pull #133

github

web-flow
Merge 7b42ef858 into 6bcd381f3
Pull Request #133: feat!: Define configFiles with an array to prioritize configs

155 of 156 branches covered (99.36%)

Branch coverage included in aggregate %.

2 of 2 new or added lines in 1 file covered. (100.0%)

1 existing line in 1 file now uncovered.

264 of 265 relevant lines covered (99.62%)

381.28 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

84.62
/lib/array_find.js
1
'use strict';
2

3
function arrayFind(arr, fn) {
4
  if (!Array.isArray(arr)) {
720!
UNCOV
5
    return;
×
6
  }
7

8
  var idx = 0;
720✔
9
  while (idx < arr.length) {
720✔
10
    var result = fn(arr[idx]);
276✔
11
    if (result) {
276✔
12
      return result;
24✔
13
    }
14
    idx++;
252✔
15
  }
16
}
17

18
module.exports = arrayFind;
288✔
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc