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

molefrog / wouter / 36626447481
100%
master: 97%

Build:
Build:
LAST BUILD BRANCH: fix/initial-empty-query
DEFAULT BRANCH: master
Ran 29 Sep 2026 08:27PM UTC
Jobs 1
Files 8
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

29 Sep 2026 08:27PM UTC coverage: 100.0%. Remained the same
36626447481

push

github

molefrog
test(preact): make navigation test cover re-renders in any file order

The "renders properly and reacts on navigation" test rendered outside
act(), never asserted that the routes re-render and never unmounted.
The location subscription callback in wouter-preact's react-deps.js was
therefore only exercised by navigation in test files that happened to
run afterwards. Whenever Bun ran preact.test.tsx last (as it currently
does on the CI runner), react-deps.js dropped to 92.86% line coverage
and the 0.99 per-file threshold failed the build with all tests passing.

Render inside act() so the subscription is in place before the click,
assert that the routes re-render with the new location, and unmount at
the end so the app no longer leaks into later test files. The test now
also fails if Preact components stop reacting to navigation, which the
suite previously could not detect.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01MEaKcdDoavE2k3pprs23yq

400 of 400 relevant lines covered (100.0%)

34.48 hits per line

Jobs
ID Job ID Ran Files Coverage
1 36626447481.1 29 Sep 2026 08:27PM UTC 8
100.0
GitHub Action Run
Source Files on build 36626447481
  • Tree
  • List 8
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #36626447481
  • 0794c292 on github
  • Prev Build on main (#34896596960)
  • Next Build on main (#36628425340)
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