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

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

Build:
DEFAULT BRANCH: main
Ran 10 May 2026 09:22AM UTC
Files 28
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: 89.191%. Remained the same
25625015046.1

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>

753 of 944 branches covered (79.77%)

Branch coverage included in aggregate %.

1640 of 1739 relevant lines covered (94.31%)

474786.77 hits per line

Source Files on job native - 25625015046.1
  • Tree
  • List 28
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
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.2)
  • 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