Skip to content

Commit

Permalink
Merge pull request #6842 from wordpress-mobile/update/react-18
Browse files Browse the repository at this point in the history
Update package-lock.json with the recent React upgrade
  • Loading branch information
Gerardo Pacheco authored Apr 30, 2024
2 parents 5e7c538 + 9e730ab commit 30fc5f9
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 17 deletions.
2 changes: 1 addition & 1 deletion gutenberg
Submodule gutenberg updated 344 files
28 changes: 14 additions & 14 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 6 additions & 2 deletions src/test/videopress/edit.js
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,9 @@ describe( "Update VideoPress block's settings", () => {
*/
RATING_OPTIONS.forEach( ( option, index ) => {
// Skip the default setting, as it is already selected
if ( index === 0 ) return;
if ( index === 0 ) {
return;
}

it( `should update Privacy and Rating section's rating setting to ${ option }`, async () => {
await selectAndOpenBlockSettings( screen );
Expand All @@ -229,7 +231,9 @@ describe( "Update VideoPress block's settings", () => {
*/
PRIVACY_OPTIONS.forEach( ( option, index ) => {
// Skip the default setting, as it is already selected
if ( index === 0 ) return;
if ( index === 0 ) {
return;
}

it( `should update Privacy and Rating section's privacy setting to ${ option }`, async () => {
await selectAndOpenBlockSettings( screen );
Expand Down

0 comments on commit 30fc5f9

Please sign in to comment.