Skip to content

test(frontend): Vitest coverage for thread settings modal (#58) - #76

Merged
bertheto merged 2 commits into
Killea:mainfrom
bertheto:test/thread-settings-modal
Jul 28, 2026
Merged

test(frontend): Vitest coverage for thread settings modal (#58)#76
bertheto merged 2 commits into
Killea:mainfrom
bertheto:test/thread-settings-modal

Conversation

@bertheto

Copy link
Copy Markdown
Collaborator

Summary

  • Add Vitest coverage for openThreadSettingsModal, closeThreadSettingsModal, and submitThreadSettings in web-ui/js/shared-modals.js
  • New file: frontend/src/__tests__/thread-settings-modal.test.js (DOM fixture via acb-modal-shell, api() mocks)
  • Closes Kanban perf: increase heartbeat interval for LLM workloads #58

Test plan

  • cd frontend && npx vitest run src/__tests__/thread-settings-modal.test.js — 8 tests pass
  • Full npx vitest run — 6 pre-existing suites still fail on main due to obsolete src/static/js/... import paths (unrelated to this PR)

bertheto added 2 commits July 29, 2026 00:36
Cover openThreadSettingsModal, closeThreadSettingsModal, and
submitThreadSettings with DOM fixtures and api() mocks.
@bertheto
bertheto merged commit cc9b587 into Killea:main Jul 28, 2026
1 check passed
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.

1 participant