Skip to content

Commit

Permalink
InlineTip: Use more accurate test description
Browse files Browse the repository at this point in the history
  • Loading branch information
noisysocks committed Aug 2, 2019
1 parent 51baead commit bdd6473
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/nux/src/components/inline-tip/test/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ describe( 'InlineTip', () => {
expect( renderer ).toMatchSnapshot();
} );

it( 'should call onRemove when the remove button is clicked', () => {
it( 'calls `onRemove` when the rendered notice is dismissed', () => {
const onRemove = jest.fn();
const renderer = TestRenderer.create(
<InlineTip isVisible onRemove={ onRemove }>
Expand Down

0 comments on commit bdd6473

Please sign in to comment.