Skip to main content

Current test coverage

The repository currently includes unit tests for:
  • chemical status evaluation
  • LSI calculation
  • Illinois water quality threshold behavior
These tests live under:
src/lib/services/__tests__/

Commands

Run the test suite once:
npm run test
Run ESLint:
npm run lint
For watch mode:
npm run test:watch

Edge-case coverage

Use the full QA matrix here: It covers:
  • implemented modules that need regression coverage now
  • planned roadmap items that need acceptance coverage before shipping
  • cross-cutting risks around tenancy, permissions, uploads, dates, exports, and responsive UI

Current operational posture

Implemented:
  • chemistry records with evaluation, detail pages, trends, and CSV import
  • maintenance logs
  • compliance incidents, evidence, corrective actions, timeline, and facility status
  • alerts plus export history and IDPH PDF reporting
Not yet production-hardened:
  • public production deployment operations
  • background job infrastructure beyond current export posture
  • full browser-based end-to-end coverage across restricted-access roles