Skip to content

Commit

Permalink
change expect order
Browse files Browse the repository at this point in the history
  • Loading branch information
ellatrix committed Apr 27, 2023
1 parent 847416a commit 1ffec94
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,6 @@ describe( 'iframed inline styles', () => {

// Skip flaky test. See https://github.com/WordPress/gutenberg/issues/35172
it( 'should load inline styles in iframe', async () => {
expect( console ).toHaveWarned();

await insertBlock( 'Iframed Inline Styles' );

expect( await getEditedPostContent() ).toMatchSnapshot();
Expand All @@ -51,5 +49,7 @@ describe( 'iframed inline styles', () => {
expect( await getComputedStyle( canvas(), 'border-width' ) ).toBe(
'2px'
);

expect( console ).toHaveWarned();
} );
} );

0 comments on commit 1ffec94

Please sign in to comment.