Skip to content

Commit

Permalink
change expect order
Browse files Browse the repository at this point in the history
  • Loading branch information
ellatrix committed May 11, 2023
1 parent 7ddaf83 commit 85704f4
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,6 @@ describe( 'iframed inline styles', () => {
} );

it( 'should load inline styles in iframe', async () => {
expect( console ).toHaveWarned();

await insertBlock( 'Iframed Inline Styles' );

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

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

0 comments on commit 85704f4

Please sign in to comment.