-
Notifications
You must be signed in to change notification settings - Fork 797
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
Gif block: refactor and add test coverage #19066
Merged
Merged
Commits on Mar 11, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 08aea4d - Browse repository at this point
Copy the full SHA 08aea4dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 37d3e9e - Browse repository at this point
Copy the full SHA 37d3e9eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2a9939c - Browse repository at this point
Copy the full SHA 2a9939cView commit details -
Added @testing-library/react-hooks library to unit test custom hooks
Importing regenerator runtime to polyfill transpiled generator functions for react hooks testing library Added custom hook to fetch api data Added tests for custom hook and updated tests for edit.js
Configuration menu - View commit details
-
Copy full SHA for c0717d1 - Browse repository at this point
Copy the full SHA c0717d1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 50ff6af - Browse repository at this point
Copy the full SHA 50ff6afView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1275a76 - Browse repository at this point
Copy the full SHA 1275a76View commit details -
Configuration menu - View commit details
-
Copy full SHA for 31a6058 - Browse repository at this point
Copy the full SHA 31a6058View commit details -
Here we are extracting getSelectedGiphyAttributes to utils. getSelect…
…edGiphyAttributes is not referencing any props or state so we can use it in the useEffect hook and not reference it.
Configuration menu - View commit details
-
Copy full SHA for 4509013 - Browse repository at this point
Copy the full SHA 4509013View commit details -
Using a regex to capture known giphy paths and extract the id. This i…
…s a little stricter than testing for the index of the domain.
Configuration menu - View commit details
-
Copy full SHA for 575a94e - Browse repository at this point
Copy the full SHA 575a94eView commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.