You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Fixture: change only vite.config.ts in a Vitest project #98
Vitest reads vite.config.* when a project has no vitest.config.*, so editing vite.config.ts can change which tests run and how (for example test.include, resolve.alias or plugins). CONFIG_PATTERNS in git-diff.ts lists vitest.config. but not vite.config., and no test covers a change to vite.config.ts alone.
Add a synthetic-repository fixture: a small Vitest project with vite.config.ts (holding a test block) and no vitest.config.*, where the head commit changes only vite.config.ts. Record what DiffCI does today: which tests it selects, or whether it falls back to the full suite and with which reason.
Done when: the fixture and test are in tests/ (tests/git/git-diff.temp-repo.test.ts shows how to build a temporary repository), and the PR description says whether today's behaviour is safe. If DiffCI selects fewer tests than a test.include change could affect, say so: fixing that is a follow-up, and finding it is the point.
Setup and conventions are in CONTRIBUTING.md: run npm test, sign off commits with git commit -s (DCO). Comment here if you want to take it, and ask anything.
Activity
test(impact): fixture for a vite.config-only change in a Vitest proje…