stacklok / stacklok/toolhive-studio
Test coverage: Shutdown route & auto-launch
Open
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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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