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

test(gatsby-plugin-image): gatsby-image-server.ts #27989

Merged
merged 5 commits into from
Nov 16, 2020
Merged

test(gatsby-plugin-image): gatsby-image-server.ts #27989

merged 5 commits into from
Nov 16, 2020

Conversation

mfrachet
Copy link
Contributor

@mfrachet mfrachet commented Nov 12, 2020

Description

Add basic tests for gatsby-image-server.ts. The following verifications have been made:

Screenshot 2020-11-12 at 13 22 20

Feel free to request more component level tests.

NB: I will also write Cypress tests when this one gets merged to verify older browser behaviours

@gatsbot gatsbot bot added the status: triage needed Issue or pull request that need to be triaged and assigned to a reviewer label Nov 12, 2020
@mfrachet mfrachet added topic: plugins Related to plugin system, themes & catch-all for plugins that don't have a label and removed status: triage needed Issue or pull request that need to be triaged and assigned to a reviewer labels Nov 12, 2020
@mfrachet mfrachet marked this pull request as ready for review November 12, 2020 12:40
@mfrachet mfrachet requested a review from a team as a code owner November 12, 2020 12:40
@mfrachet mfrachet requested review from ascorbic and a team November 12, 2020 12:41
@laurieontech
Copy link
Contributor

This looks reasonable to me. It duplicates some of the static image stuff but I think that's fine.

Copy link
Contributor

@gillkyle gillkyle left a comment

Choose a reason for hiding this comment

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

These look great, I like the breakdown between styles, fallbacks, sources, and placeholders!

@mfrachet mfrachet merged commit 51454f6 into gatsbyjs:master Nov 16, 2020
@mfrachet mfrachet deleted the add-testing-for-gatsby-plugin-image branch November 16, 2020 06:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic: plugins Related to plugin system, themes & catch-all for plugins that don't have a label
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants