test: validate svg generator xml output#5394
Conversation
|
Someone is attempting to deploy a commit to the jhasourav07's projects Team on Vercel. A member of the Team first needs to authorize it. |
|
👋 Hey @saurabhhhcodes! Thanks for your interest in contributing to CommitPulse! 🙏 Unfortunately, this PR has been automatically closed because you are not assigned to the linked issue #5280 — test: Add XML validation checks for SVG generator outputs. To avoid this in the future, please follow these steps:
We look forward to your contribution once you're assigned! 🚀 |
Aamod-Dev
left a comment
There was a problem hiding this comment.
Excellent XML validation! I went through the changes and adding dedicated XML linting on the generator output ensures our SVGs will always pass browser validity checks.
Labels applied:
- level:intermediate: XML document parsing.
- quality:clean: Validates generator paths.
- ype:testing: Secures image outputs.
Adds XML parser validation coverage for the SVG generator outputs so malformed markup is caught in tests instead of slipping through to rendering.\n\nValidation:\n- npm test -- --run lib/svg/generator.test.ts\n\nCloses #5280