Skip to content

Fix Stryker UI compile + sandbox blockers#235

Merged
s-b-e-n-s-o-n merged 1 commit intomainfrom
fix/stryker-ui-compile
Mar 30, 2026
Merged

Fix Stryker UI compile + sandbox blockers#235
s-b-e-n-s-o-n merged 1 commit intomainfrom
fix/stryker-ui-compile

Conversation

@s-b-e-n-s-o-n
Copy link
Copy Markdown
Contributor

Summary

  • Fix TypeScript compile errors blocking Stryker UI mutation testing
  • Switch Stryker to coverageAnalysis: 'perTest' with vitest.related: false

Changes

  • dashboardWidgetLayout.ts: add missing xs/xxs breakpoint properties
  • ButtonStandard.spec.ts: type-narrow ChildNodeParentNode for template content traversal
  • useDashboardWidgetOrder.spec.ts: fix type mismatch in test fixture
  • mockServiceWorker-origin-check.spec.ts: fix import path
  • stryker.conf.mjs: perTest coverage + disable vitest related mode

Verification

  • tsc --noEmit passes
  • All Vitest specs pass (100% coverage)
  • stryker run --dryRunOnly succeeds
  • Biome clean
  • All 7 lefthook pre-push gates green

Test plan

  • App tests pass (100% coverage)
  • UI tests pass (100% coverage)
  • TypeScript compiles cleanly
  • Biome lint clean
  • Local pre-push gates all pass

- dashboardWidgetLayout.ts: add missing xs/xxs breakpoint properties
- ButtonStandard.spec.ts: type-narrow ChildNode to ParentNode for
  HTMLTemplateElement content traversal
- useDashboardWidgetOrder.spec.ts: fix type mismatch in test fixture
- mockServiceWorker-origin-check.spec.ts: fix import path
- stryker.conf.mjs: use coverageAnalysis perTest + disable vitest
  related mode (was returning zero tests, stopping mutation execution)
@vercel
Copy link
Copy Markdown

vercel bot commented Mar 30, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
drydock-demo Ready Ready Preview, Comment Mar 30, 2026 5:41pm
drydock-website Ready Ready Preview, Comment Mar 30, 2026 5:41pm

@codecov
Copy link
Copy Markdown

codecov bot commented Mar 30, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@s-b-e-n-s-o-n s-b-e-n-s-o-n merged commit f7fc97e into main Mar 30, 2026
22 checks passed
@s-b-e-n-s-o-n s-b-e-n-s-o-n deleted the fix/stryker-ui-compile branch March 30, 2026 17:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants