Skip to content

Commit

Permalink
Fix preloading e2e test
Browse files Browse the repository at this point in the history
  • Loading branch information
Mamaduka committed Feb 11, 2025
1 parent 374ae57 commit 0b05f67
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/e2e/specs/site-editor/preload.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,11 @@ test.describe( 'Preload', () => {

// To do: these should all be removed or preloaded.
expect( requests ).toEqual( [
// Seems to be coming from `enableComplementaryArea`.
'/wp/v2/users/me',
// There are two separate settings OPTIONS requests. We should fix
// so the one for canUser and getEntityRecord are reused.
'/wp/v2/settings',
// Seems to be coming from `enableComplementaryArea`.
'/wp/v2/users/me',
] );
} );
} );

0 comments on commit 0b05f67

Please sign in to comment.