test(api validation): check query validation boundaries for ?accent= parameter (Variation 4)#1958
Conversation
…parameter (Variation 4)
|
@boss477 is attempting to deploy a commit to the jhasourav07's projects Team on Vercel. A member of the Team first needs to authorize it. |
Aamod007
left a comment
There was a problem hiding this comment.
Adds the missing expect(response.status).toBe(400) to the existing #ZZZZZZZ route test (which was a no-op) and adds the complementary #ZZZZZZ (6-char, all non-hex) boundary test at both the schema and route layers. 220/220 tests pass. Clean and focused.
|
🎉 Congratulations @boss477! Your PR has been successfully merged. 🚀 Thank you for contributing to CommitPulse. Your work helps us build a better tool for the community.
Keep building! 💻✨ |
Description
Fixes #1458
This PR adds unit tests and route integration tests to verify validation boundaries for the
?accent=query parameter when passing an invalid color hex value like#ZZZZZZ.Pillar
Visual Preview
None (Validation changes)
Checklist before requesting a review:
CONTRIBUTING.mdfile.npm run formatandnpm run lintlocally and resolved all errors.README.mdif I added a new theme or URL parameter.