Skip to content

script/generate-test: add publishedTime, modifiedTime to expected metadata #97

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mislav
Copy link

@mislav mislav commented Jun 15, 2025

The script/generate-test script fetches a HTML page and stores its parse result as a test expectation. However, published & modified timestamps were not persisted, even when they were correctly extracted by readability. As a result, sometimes a generated test would immediately be failing with a mismatch in these timestamps, even if the readability implementation didn't change in the meantime.

…adata

The `script/generate-test` script fetches a HTML page and stores its parse
result as a test expectation. However, published & modified timestamps were
not persisted, even when they were correctly extracted by readability. As a
result, sometimes a generated test would immediately be failing, even if the
readability implementation didn't change in the meantime.
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