stacklok / stacklok/toolhive-studio

Test coverage: Shutdown route & auto-launch

Open
#601 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
167
Forks
24
Avg merge
11h 32m
Merged PRs (30d)
91

Description

What to do

Mock electron-store, visit /shutdown, confirm restart modal, verify use-auto-launch is invoked.

Files to cover
  • src/routes/shutdown.tsx
  • src/common/hooks/use-auto-launch.ts

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with src/routes/shutdown.tsx and src/common/hooks/use-auto-launch.ts, then inspect the existing test setup for route and hook coverage. Mock electron-store, exercise /shutdown, and verify the restart modal and use-auto-launch invocation are covered.

Written by the indexing model from the issue text.

Assessment

Tech stack
electron, typescript
Domain
desktop, testing-qa
Issue type
Refactor
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
50/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.