electron / electron/apps

Validate all images are actually images during the tests

Open
#431 2 comments 2 reactions 0 assignees View on GitHub
good first issue
Dominant language
JavaScript
Stars
1.7k
Forks
1.5k
Avg merge
18m
Merged PRs (30d)
2

Description

We could do a `HEAD` request to all image URL's to ensure the mimeType returned is actually an image.

This would prevent things like #430 where the URL added didn't actually point to an image 👍

Existing tests: https://github.com/electron/electron-apps/blob/master/test/human-data.js#L100

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.