Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Document that unit tests must live in __tests__/ and use Vitest

Closed Beginner friendly
#994 2 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

@brightfootlimited-collab is already working on this.

Since Oct 16, 2026.

  • #1007 by @brightfootlimited-collab — merged

Assessment

Difficulty
1/5
Estimated time
1-3 hours
Newbie friendliness
80/100
Issue type
Documentation
Clarity
Clearly specified
Activity status
Active
Tech stack
typescript

Research direction

Read vitest.config.ts to confirm the include glob (__tests__/**/*.{test,spec}.{ts,tsx}), then check docs/TESTING.md and CONTRIBUTING.md for existing test guidance. Add a short section stating that tests go in __tests__/, that Vitest is the runner (use vi.fn, not jest.fn), and how to run one file, with a small example. Done when both docs agree with the config and the example matches the config.

Written by the indexing model from the issue text.

Description

documentation good first issue testing

Description

Vitest only collects __tests__/**/*.{test,spec}.{ts,tsx}. Several Jest-style test files were previously added under components/ and never ran.

Location

docs/TESTING.md, CONTRIBUTING.md, vitest.config.ts (include).

Task

State where tests go, that the runner is Vitest (vi.fn, not jest.fn), and how to run a single file.

Acceptance criteria

  • Docs updated with a short example

Good for contributors because

Docs-only change that prevents wasted contributor effort.

Dominant language
TypeScript
Stars
1
Forks
144
Avg merge
11h 47m
Merged PRs (30d)
50

Getting set up

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.

More from FlowwStar/FlowStar

All issues in FlowwStar/FlowStar

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.