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

cheeriojs / cheerio / 42149814312
99%

Build:
DEFAULT BRANCH: main
Ran 06 Nov 2026 02:22AM UTC
Jobs 1
Files 16
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

06 Nov 2026 02:21AM UTC coverage: 99.567% (+0.001%) from 99.566%
42149814312

push

github

web-flow
fix(traversing): isolate stop predicates for nested Until calls (#5614)

* fix(traversing): isolate stop predicates for nested Until calls

Keep the stop predicate and its matcher local to each invocation so nested traversals cannot clear or replace the outer predicate. Cover nextUntil, prevUntil and parentsUntil with successful nested calls, caught nested exceptions, calls after an exception and per-start indexes across nested calls.

* perf(traversing): build each `*Until` matcher once

Building the matcher on every call made `nextUntil()` about 8% slower on
a short run of siblings (and `nextUntil(fn)` 3-7%). Keep one matcher per
method and restore the outer stop condition when a call returns or throws,
which keeps nested calls apart just the same.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* test(traversing): keep one nested `nextUntil` case per outcome

`prevUntil` and `parentsUntil` go through the same `_matchUntil`. The
per-start index case only fails through the nested call the first case
already makes, and the call after a throwing stop condition passes without
the fix.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Felix Boehm <188768+fb55@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>

270 of 270 branches covered (100.0%)

Branch coverage included in aggregate %.

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

879 of 884 relevant lines covered (99.43%)

386.18 hits per line

Jobs
ID Job ID Ran Files Coverage
1 42149814312.1 06 Nov 2026 02:22AM UTC 16
99.57
GitHub Action Run
Source Files on build 42149814312
  • Tree
  • List 16
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #42149814312
  • e842f9ea on github
  • Prev Build on main (#42148281502)
  • Next Build on main (#42197904029)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc