Skip to content

refactor: move test files into src/tests/ directory - #21

Merged
mattzcarey merged 2 commits into
mainfrom
feat/move-tests-to-src-tests
Feb 19, 2026
Merged

refactor: move test files into src/tests/ directory#21
mattzcarey merged 2 commits into
mainfrom
feat/move-tests-to-src-tests

Conversation

@mattzcarey

Copy link
Copy Markdown
Contributor

Summary

  • Moves all test files into a dedicated src/tests/ directory, mirroring source structure (src/tests/auth/ for auth tests)
  • Excludes src/tests/ from the build tsconfig.json and removes vitest types from it
  • Adds src/tests/tsconfig.json extending the base config with vitest types for IDE support
  • Points vitest config explicitly at src/tests/**/*.test.ts

Test plan

  • All 69 tests pass (6 test files)
  • tsc --noEmit passes with tests excluded from build

mattzcarey and others added 2 commits February 19, 2026 23:38
Relocate all test files into a dedicated src/tests/ directory that
mirrors the source structure (src/tests/auth/ for auth tests). Exclude
tests from the build tsconfig and add a separate test tsconfig with
vitest types.
@mattzcarey
mattzcarey merged commit 18a9721 into main Feb 19, 2026
1 check passed
@mattzcarey
mattzcarey deleted the feat/move-tests-to-src-tests branch February 19, 2026 23:42
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