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

dangernoodle-io / TaipanMiner / 25620560410
90%

Build:
DEFAULT BRANCH: main
Ran 10 May 2026 05:15AM UTC
Jobs 3
Files 89
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 May 2026 05:14AM UTC coverage: 87.685% (+1.1%) from 86.567%
25620560410

push

github

web-flow
refactor(prov): extract WifiSetup state machine + helpers; add tests (#376)

* refactor(webui): extract WifiSetup state machine

- extract wifiSetupState.svelte.ts with createWifiSetupState() factory
- extract wifiSetupHelpers.ts with validateForm() and resolvedSsid() pure helpers
- WifiSetup.svelte becomes a thin shell using const ws = createWifiSetupState()
- all state transitions, message strings, and ui conditionals preserved verbatim
- svelte-check: 0 errors, 0 warnings; build: clean

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* test(webui): cover WifiSetup state machine and helpers

- wifiSetupHelpers.test.ts: 100% coverage of validateForm (all field branches) and resolvedSsid
- wifiSetupState.test.ts: covers initial state, scan happy/error paths, setter round-trips,
  hostname/worker sync, validate, handleSubmit happy/timeout/error paths
- WifiSetup.test.ts: rewritten as state-driven render specs; mocks createWifiSetupState;
  asserts structure, submit button state, error banners, manual ssid entry, field errors,
  password visibility, scan-on-mount
- vitest.config.ts: add coverage.all=true for complete file visibility
- coverage: wifiSetupHelpers.ts 100%, wifiSetupState.svelte.ts 100%, WifiSetup.svelte 83%

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

---------

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>

2236 of 2883 branches covered (77.56%)

Branch coverage included in aggregate %.

119 of 126 new or added lines in 3 files covered. (94.44%)

4286 of 4555 relevant lines covered (94.09%)

181283.3 hits per line

Uncovered Changes

Lines Coverage ∆ File
7
89.36
38.0% webui/prov/src/pages/WifiSetup.svelte
Jobs
ID Job ID Ran Files Coverage
1 webui - 25620560410.1 10 May 2026 05:16AM UTC 61
86.57
GitHub Action Run
2 e2e - 25620560410.2 10 May 2026 05:16AM UTC 43
58.82
GitHub Action Run
3 native - 25620560410.3 10 May 2026 05:15AM UTC 28
89.19
GitHub Action Run
Source Files on build 25620560410
  • Tree
  • List 89
  • Changed 2
  • Source Changed 1
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #25620560410
  • 165e508a on github
  • Prev Build on main (#25620234720)
  • Next Build on main (#25620827175)
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