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

cucumber / cucumber-js / 29076292206
97%
master: 98%

Build:
Build:
LAST BUILD BRANCH: main
DEFAULT BRANCH: master
Ran 10 Jul 2026 07:20AM UTC
Jobs 1
Files 137
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

10 Jul 2026 07:18AM UTC coverage: 97.176%. Remained the same
29076292206

push

github

web-flow
Use fake timers instead of real setTimeout waits (#2874)

The stopwatch specs slept on real setTimeout (1200+200+200+200+200ms =
~2s of wall-clock per run) and asserted elapsed time with a closeTo(±50ms)
tolerance, which can flake under CI load when the event loop is delayed
past the tolerance.

Drive the four duration tests with @sinonjs/fake-timers via
FakeTimers.withGlobal(timeMethods) — the same pattern already used in
test_case_runner_spec.ts and assemble_test_cases_spec.ts — advancing the
clock with clock.tick(...). Tests are now synchronous, assert exact
durations, and the file runs in ~12ms instead of ~2s. The 'timestamp
close to now' test is left on the real clock (it is already instant).

Signed-off-by: Nikolaus Schuetz <nikolauspschuetz@gmail.com>

1738 of 2226 branches covered (78.08%)

2684 of 2762 relevant lines covered (97.18%)

789.47 hits per line

Jobs
ID Job ID Ran Files Coverage
1 29076292206.1 10 Jul 2026 07:20AM UTC 137
97.18
GitHub Action Run
Source Files on build 29076292206
  • Tree
  • List 137
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #29076292206
  • 472b1d16 on github
  • Prev Build on main (#29072619170)
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