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

chore(gastby-transformer-sqip): Use createContentDigest helper #18534

Merged
merged 3 commits into from
Oct 14, 2019
Merged

chore(gastby-transformer-sqip): Use createContentDigest helper #18534

merged 3 commits into from
Oct 14, 2019

Conversation

jbutz
Copy link
Contributor

@jbutz jbutz commented Oct 11, 2019

Description

Updates the plugin to use the helper instead of manually handling the crypto work. While I was running the unit tests I noticed there was a warning being thrown by Jest about the describe block returning a Promise. I went ahead and removed the await keyword. If necessary I can split that commit off into it's own PR, just let me know.

Related Issues

Related to #8805

jbutz added 2 commits October 11, 2019 17:19
Updates the plugin to use the help instead of manually handling the
crypto work.
The `await` keyword was causing Jest to issue a warning because
`describe` functions shouldn't be returning Promises.
@jbutz jbutz requested a review from a team as a code owner October 11, 2019 21:25
@jbutz jbutz self-assigned this Oct 11, 2019
Copy link
Contributor

@pieh pieh left a comment

Choose a reason for hiding this comment

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

LGTM, let's wait for CI checks and merge this in! Thanks!

@pieh pieh added the bot: merge on green Gatsbot will merge these PRs automatically when all tests passes label Oct 14, 2019
@gatsbybot gatsbybot merged commit aafabc6 into gatsbyjs:master Oct 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bot: merge on green Gatsbot will merge these PRs automatically when all tests passes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants