Skip to content

Commit

Permalink
Update the InlineHelpPopover tests after #2160
Browse files Browse the repository at this point in the history
  • Loading branch information
nylen committed Aug 8, 2017
1 parent bd9c69f commit d8bc28c
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions components/inline-help-popover/test/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,7 @@ describe( 'InlineHelpPopover', () => {
expect( popover.length ).toBe( 1 );

expect( popover.prop( 'position' ) ).toBe( 'top left' );
expect( popover.find( '.components-popover__content' ).text() ).toBe(
'Test popover text'
);
expect( popover.prop( 'children' ) ).toBe( 'Test popover text' );

button.simulate( 'click' );
expect( inlineHelp.find( 'Popover' ).length ).toBe( 0 );
Expand Down

0 comments on commit d8bc28c

Please sign in to comment.