Skip to content

Commit

Permalink
Fix tweetstorm test for good
Browse files Browse the repository at this point in the history
It keeps flopping between 1 and 2, so accept either
  • Loading branch information
anomiex committed Nov 10, 2021
1 parent 1a61d77 commit 084233d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ describe( 'addTweetstormToTweets', () => {
const wrapper = mount( <wrappedBlock.edit { ...block.props } /> );

expect( wrapper.exists( '#baseEdit' ) ).toEqual( true );
expect( wrapper.find( 'BlockControlsFill' ) ).toHaveLength( 1 );
expect( wrapper.find( 'BlockControlsFill' ).length ).toBeGreaterThan( 0 );
} );

it( 'should not add block controls when passed a core/embed block definition with a different providerNameSlug', () => {
Expand Down

0 comments on commit 084233d

Please sign in to comment.