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(v2): add lqip-loader tests, clarify loader code, improve README #2561

Merged
merged 4 commits into from
Apr 8, 2020

Conversation

Simek
Copy link
Contributor

@Simek Simek commented Apr 8, 2020

Motivation

Refs: #2560.

This PR imports tests from old lqip-loader repo, adds few new one and converts them to jest + TS.

I have also clarified one ambiguous part in loader code and added toPropertyString util method in the process.

Also small tweaks have been done to lqip-loader repo README.

Have you read the Contributing Guidelines on pull requests?

Yup.

Test Plan

New tests passing.

Related PRs

@facebook-github-bot facebook-github-bot added the CLA Signed Signed Facebook CLA label Apr 8, 2020
@docusaurus-bot
Copy link
Contributor

docusaurus-bot commented Apr 8, 2020

Deploy preview for docusaurus-2 ready!

Built with commit 19f8469

https://deploy-preview-2561--docusaurus-2.netlify.com

@@ -0,0 +1,82 @@
/**
Copy link
Contributor

Choose a reason for hiding this comment

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

This file should just be index.test.ts?

@Simek
Copy link
Contributor Author

Simek commented Apr 8, 2020

@yangshun Please review my latest changes. I think it's way cleaner approach which makes new util method redundant.

Copy link
Contributor

@yangshun yangshun left a comment

Choose a reason for hiding this comment

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

Thank you!!!

@yangshun yangshun merged commit 97125ad into facebook:master Apr 8, 2020
@yangshun yangshun added the pr: maintenance This PR does not produce any behavior differences to end users when upgrading. label Apr 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed Signed Facebook CLA pr: maintenance This PR does not produce any behavior differences to end users when upgrading.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants