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

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

Build:
DEFAULT BRANCH: main
Ran 10 May 2026 05:34AM UTC
Files 62
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 05:30AM UTC coverage: 88.006% (+1.4%) from 86.573%
25620827175.3

push

github

web-flow
test(update): extract dev-mock panel + cover handlers (#377)

* refactor(webui): extract Update dev-mock panel into a component

- lift the if (isDev) block verbatim from Update.svelte into UpdateDevMockPanel.svelte
- panel receives os as a prop (needed for selectedFile, fileInput, installConfirmOpen, uploadConfirmOpen)
- Update.svelte replaces the inline block with {#if isDev}<UpdateDevMockPanel {os} />{/if}
- remove mock-panel styles from Update.svelte (moved to component)
- 0 errors, 0 non_reactive_update warnings (9 pre-existing on:* deprecations unchanged)

* test(webui): cover Update component handlers and dev-mock panel

- add UpdateDevMockPanel.test.ts with 24 specs covering all mock buttons:
  - mockReset (Clear all), mockCheck{Checking,UpToDate,Available,Error}
  - mockInstall{Start,Mid,NearDone,Done,Error}
  - mockUpload{Start,Mid,Done,Error}
  - Reboot on/off, Both progress bars, Install/Upload confirm dialogs
  - edge: info.version used in Update available message
- expand Update.test.ts with 15 new specs:
  - handler delegation: handleCheck, requestInstall, requestUpload, choose file click
  - drag events: onDragOver, onDragLeave, onDrop
  - selectedFile branch: renders file name, Flash button, Clear button (bind:this aware)
  - drag-over CSS class applied from os.dragOver
  - install/upload confirm dialog render when *ConfirmOpen=true
  - error-kind renders without progress-block
  - uploading pct% text in Flash button
- use vi.hoisted() for mockOs to avoid hoisting TDZ issue
- stub UpdateDevMockPanel.svelte with no-op Svelte 5 component function
- total: 823 → 863 unit tests passing

1321 of 1627 branches covered (81.19%)

Branch coverage included in aggregate %.

2267 of 2450 relevant lines covered (92.53%)

30.49 hits per line

Source Files on job webui - 25620827175.3
  • Tree
  • List 62
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 25620827175
  • c80623a8 on github
  • Prev Job for on main (#25620560410.1)
  • Next Job for on main (#25621159160.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