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

dangernoodle-io / TaipanMiner / 25614493532
90%

Build:
DEFAULT BRANCH: main
Ran 09 May 2026 11:30PM UTC
Jobs 1
Files 66
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

09 May 2026 11:28PM UTC coverage: 53.624% (-34.9%) from 88.549%
25614493532

push

github

web-flow
test(webui): unblock svelte 5 component testing in vitest (#355)

- vitest.config.ts: add svelteTesting() plugin from @testing-library/svelte/vite
  to register the 'browser' resolve condition for the test transform; without
  it vitest loads svelte's ssr bundle in jsdom and mount() throws
  lifecycle_function_unavailable. set environmentOptions.jsdom.url to give
  the document a non-opaque origin
- vitest.config.ts: remove src/components/**/*.svelte and src/pages/**/*.svelte
  from coverage.exclude — components are now testable
- test-setup.ts: shim localStorage/sessionStorage when the runtime version
  is unusable. Node 25+ enables a stub Web Storage API that masks jsdom's
  storage and throws on access (vitest-dev/vitest#8757). The fix flag
  --no-webstorage / --localstorage-file is CLI-only, not allowed in
  NODE_OPTIONS, so a setup-file shim is the only portable option.
- ConfirmDialog.test.ts: un-skip all 6 component tests; rewrite the two
  'closes dialog' tests to actually assert the dialog hides (the prior
  asserts were no-ops); rename test titles from 'Confirm' to avoid
  collision with the confirm button's accessible name

references:
- sveltejs/svelte#11394 (mount on server)
- vitest-dev/vitest#8633 (svelte ssr in jsdom)
- vitest-dev/vitest#8757 (node 25 web storage)

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

1078 of 2300 branches covered (46.87%)

Branch coverage included in aggregate %.

2081 of 3591 relevant lines covered (57.95%)

229925.3 hits per line

Jobs
ID Job ID Ran Files Coverage
1 25614493532.1 09 May 2026 11:29PM UTC 66
53.62
GitHub Action Run
Source Files on build 25614493532
  • Tree
  • List 66
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #25614493532
  • ae7cc9eb on github
  • Prev Build on main (#25614061770)
  • Next Build on main (#25614593460)
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