Skip to content

Commit

Permalink
Prettier changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
revanth0212 committed Jan 28, 2021
1 parent 2cfeb8b commit bfa2d05
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions packages/venia-ui/__mocks__/informed.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,16 +27,16 @@ const {
* the ID prop of the given component and replaces it with the
* value of the field prop if available. If not it replaces it with
* a sample value `SAMPLE_ID`.
*
*
* We are doing this because the new version of informed added a feature
* to use UUID as the value of the ID prop if one is not provided.
* This is breaking all our snapshot tests because a new ID is created
* This is breaking all our snapshot tests because a new ID is created
* every time the component renders.
*
*
* https://github.com/joepuzzo/informed/blob/master/src/utils.js#L123
*
*
* @param {ReactComponent} Component component to wrap
*
*
* @returns {ReactComponent}
*/
const wrapWithUuidPropCheck = Component => props => {
Expand Down

0 comments on commit bfa2d05

Please sign in to comment.