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

Update package-lock.json with the recent React upgrade #6842

Merged
merged 2 commits into from
Apr 30, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Test - VideoPress - Addresses ESLint issues
Gerardo committed Apr 30, 2024
commit 9e730ab8af3b0dc8b8797270df52d8aa4d2de433
8 changes: 6 additions & 2 deletions src/test/videopress/edit.js
Original file line number Diff line number Diff line change
@@ -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 );
@@ -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 );