stacklok / stacklok/toolhive-studio

Test coverage: Refine Istanbul/Vitest exclude globs

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

Nobody has claimed this yet.

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

Description

What to do

Update config so every generated folder plus src/route-tree.gen.ts is excluded. CI still passes and overall coverage rises. we should also exclude components that were generated by shadcn/ui. Those components should probably almost never be individually tested in this project.

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 by locating the Istanbul/Vitest coverage configuration and inspect how generated folders and shadcn/ui components are currently matched. Ensure the exclusions cover every generated folder, src/route-tree.gen.ts, and generated shadcn/ui components, then run CI and confirm overall coverage rises.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
testing
Issue type
Refactor
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.