Skip to content

Add missing check runner unit tests - #27

Merged
jasoncrawford merged 1 commit into
mainfrom
check-runner-tests
Feb 19, 2026
Merged

jasoncrawford merged 1 commit into
mainfrom
check-runner-tests

Conversation

@jasoncrawford

Copy link
Copy Markdown
Collaborator

Summary

  • Add tests for GET handler (Vercel cron) auth and behavior
  • Add test for 500 response when sites query fails
  • Add test verifying successful checks do not create incidents
  • Add test for Promise.allSettled handling rejected promises

These tests cover the GET handler added in d289b78 and several untested edge cases in the check runner.

Test plan

  • CI passes (all unit tests green)

Tests for the GET handler (Vercel cron), sites query failure, successful
checks not creating incidents, and Promise.allSettled rejection handling.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@jasoncrawford
jasoncrawford merged commit fbe1dd5 into main Feb 19, 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