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

dangernoodle-io / TaipanMiner / 25625015046 / 3
90%
main: 90%

Build:
DEFAULT BRANCH: main
Ran 10 May 2026 09:22AM UTC
Files 66
Run time 1s
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 May 2026 09:18AM UTC coverage: 90.465% (+1.6%) from 88.862%
25625015046.3

push

github

web-flow
refactor(history): decouple uplot chart; add tests (#379)

* refactor(webui): decouple history page from uplot

Extract chart config into lib/historyChart.ts (pure builders: windowFilter,
buildSeries, buildOptions, tooltipPlugin) and lifecycle into
lib/historyState.svelte.ts. History.svelte becomes a thin runes-mode shell.

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

* test(webui): cover history chart builders and state machine

- historyChart.test.ts: ~35 specs covering windowFilter, buildSeries,
  buildOptions structure, tooltipPlugin hooks (init, setCursor branches),
  and axis/series value formatters. 98.64% statement coverage.
- historyState.test.ts: ~25 specs covering initial state, selectWindow,
  mountChart, destroyChart, store-derived count/metrics, and resize.
- History.test.ts: rewritten as thin-shell render specs using vi.hoisted()
  stub state; covers empty/populated states, window button rendering,
  active class, mount/destroy lifecycle, and click delegation.

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

* fix(webui): cast uPlot plugin hooks to Function in tests

historyChart.test.ts was calling plugin.hooks.init!() and
plugin.hooks.setCursor!() directly, but uPlot types them as
ArraysOrFuncs (function | function[]), which svelte-check treats as
non-callable. Use (hook as Function)(args) via callInit/callSetCursor
helpers to satisfy the type checker.

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

---------

Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>

1353 of 1629 branches covered (83.06%)

Branch coverage included in aggregate %.

2366 of 2482 relevant lines covered (95.33%)

27.27 hits per line

Source Files on job webui - 25625015046.3
  • Tree
  • List 66
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 25625015046
  • da96da54 on github
  • Prev Job for on main (#25621159160.3)
  • Next Job for on main (#25625639082.1)
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