Skip to content

Add full testing infrastructure and remove coverage exclusions#15

Merged
johnpc merged 1 commit into
mainfrom
full-testing-infrastructure
May 24, 2026
Merged

Add full testing infrastructure and remove coverage exclusions#15
johnpc merged 1 commit into
mainfrom
full-testing-infrastructure

Conversation

@johnpc
Copy link
Copy Markdown
Owner

@johnpc johnpc commented May 24, 2026

Summary

  • Remove all coverage exclusions — every source file is now tested (97.76% statements, 93.33% branches, 90% thresholds enforced)
  • Add 18 new unit tests for previously-excluded components (App, MeetingControlBar, VideoMeeting, AttendeeList) — 84 tests total
  • Add Playwright + playwright-bdd E2E infrastructure with Gherkin syntax
  • Add GitHub Actions CI that blocks PRs on test/coverage/build failures
  • Add ESLint no-explicit-any (error) and explicit-function-return-type (warn)
  • Pre-commit hook now gates on lint-staged + tests + build
  • Fix build without amplify_outputs.json via conditional resolve alias + type declaration

Test plan

  • npm run test:coverage passes with 90%+ thresholds
  • npm run test:crap — all 49 functions CRAP ≤ 15
  • npm run build passes (even without amplify_outputs.json)
  • CI workflow runs on this PR
  • E2E tests pass against running dev server

🤖 Generated with Claude Code

- Remove coverage exclusions for App.tsx, MeetingControlBar, VideoMeeting,
  AttendeeList — all source files are now tested (97.76% statements)
- Add tests for previously-excluded components (18 new tests, 84 total)
- Add Playwright + playwright-bdd with Gherkin for E2E tests
- Add GitHub Actions CI workflow that blocks PRs on failure
- Add ESLint no-explicit-any (error) and explicit-function-return-type (warn)
- Pre-commit hook now runs lint-staged + tests + build
- Fix build without amplify_outputs.json via conditional resolve alias

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@johnpc johnpc force-pushed the full-testing-infrastructure branch from 9353436 to 49d405e Compare May 24, 2026 21:12
@johnpc johnpc enabled auto-merge (squash) May 24, 2026 21:13
@johnpc johnpc merged commit 714d43e into main May 24, 2026
1 check passed
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