Skip to content
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

Image test updates #499

Merged
merged 5 commits into from
Jan 2, 2025
Merged

Image test updates #499

merged 5 commits into from
Jan 2, 2025

Conversation

timothymcmackin
Copy link
Collaborator

@timothymcmackin timothymcmackin commented Dec 31, 2024

  1. Expand the test to check for images in html <img tags
  2. Expand the test to get a list of image files and check to see if they are used.
  3. Remove the images that the test flagged as unused.

To test item 1, delete the file static/img/using/staking-current-balance.png and run the test with npm run test. It should detect that this file is missing.

To test item 2, put an image file in static/ and the test should show that it is present but not used in any file.

@timothymcmackin timothymcmackin self-assigned this Dec 31, 2024
Copy link

vercel bot commented Dec 31, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
docs-staging ✅ Ready (Inspect) Visit Preview Jan 2, 2025 1:39pm

Copy link
Contributor

@beatalipska beatalipska left a comment

Choose a reason for hiding this comment

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

💯

@timothymcmackin timothymcmackin merged commit 364af88 into main Jan 2, 2025
3 checks passed
@timothymcmackin timothymcmackin deleted the image-test-updates branch January 2, 2025 16:11
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.

2 participants