test(ApiGithubRoute-theme-contrast): verify dark and light prefers-color-scheme visual cohesion#5323
Conversation
…lor-scheme visual cohesion
|
🚨 Hey @aanyacloud, the CI Pipeline is failing on this PR and it has been marked as Please fix the issues before this can be reviewed. Here's how: 1. Run checks locally before pushing: npm run format:check # Check Prettier formatting
npm run lint # Run ESLint
npm run typecheck # TypeScript type check
npm run test # Run unit tests (Vitest)
npm run build # Verify production build passes2. Auto-fix common issues: npm run format # Auto-fix formatting with Prettier
npm run lint -- --fix # Auto-fix lint errors where possible3. Check the full failure log here: Once you push a fix and the CI passes, the |
|
Review Summary Thanks for the contribution. I've reviewed the tests, and while they correctly validate the API caching logic, it seems the file naming ( Labels Applied:
|
|
Review Summary |
Fixes #4432
Description
Adds theme-contrast test coverage for the GitHub API route to verify visual-cohesion related response behavior across cached and refreshed request modes.
Pillar
Visual Preview
N/A (test-only changes)
Summary
Added a new test file:
Tests Added
Checklist before requesting a review
CONTRIBUTING.mdfile.Test Results