Summary
The design-system repository has no test suite configured, despite 28 PRs being merged in the last 7 days.
Details
- No test scripts in package.json
- No Jest, Vitest, or other test runner found
- No test files detected in
src/
Risk
With 28 PRs/week, the absence of automated tests creates significant risk of undetected regressions. TypeScript type checking passes, but it does not catch behavior/logic regressions.
Recommended Fix
- Add Vitest (recommended for component libraries) or Jest:
npm install --save-dev vitest @testing-library/react @testing-library/jest-dom
- Add a
test script to package.json
- Write unit tests for core components
- Add test coverage requirements for new PRs (e.g.,
--coverage in CI)
Context
Identified in quality audit on 2026-03-19.
Summary
The design-system repository has no test suite configured, despite 28 PRs being merged in the last 7 days.
Details
src/Risk
With 28 PRs/week, the absence of automated tests creates significant risk of undetected regressions. TypeScript type checking passes, but it does not catch behavior/logic regressions.
Recommended Fix
testscript to package.json--coveragein CI)Context
Identified in quality audit on 2026-03-19.