Skip to content

test: cover generated file validation edge cases - #1212

Merged
yakew7 merged 1 commit into
yakew7:mainfrom
Aaqibhafeezkhan:test/issue-1155-generated-file-coverage
Oct 27, 2026
Merged

yakew7 merged 1 commit into
yakew7:mainfrom
Aaqibhafeezkhan:test/issue-1155-generated-file-coverage

Conversation

@Aaqibhafeezkhan

Copy link
Copy Markdown
Contributor

Summary

  • Add focused tests for tracked-path filtering and expected OG image slugs.
  • Cover empty and undecodable OG images in both dark and light themes.
  • Assert the expected failure messages for invalid generated images.

Validation

  • Existing tests cover stale generated text, missing OG images, and incorrect image dimensions.
  • Added coverage for additional validation paths.

Closes #1155

@vercel

vercel Bot commented Oct 27, 2026

Copy link
Copy Markdown
Contributor

@Aaqibhafeezkhan is attempting to deploy a commit to the yashkewlani2020-gmailcom's projects Team on Vercel.

A member of the Team first needs to authorize it.

@Aaqibhafeezkhan Aaqibhafeezkhan left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added focused tests for OG image validation edge cases and helper functions, complementing existing stale-text, missing-image, and dimension checks.

@github-actions

Copy link
Copy Markdown

@yakew7 @ahmdkaml - new PR touching a path you own, please review.

@yakew7
yakew7 merged commit 85f5a5b into yakew7:main Oct 27, 2026
18 of 19 checks 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.

check_generated_files_current.py is at 76% coverage

2 participants