From bdd647311b89ceb14bba6b193a81ab0a791cd22b Mon Sep 17 00:00:00 2001 From: Robert Anderson Date: Thu, 18 Jul 2019 09:54:58 +1000 Subject: [PATCH] InlineTip: Use more accurate test description --- packages/nux/src/components/inline-tip/test/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/nux/src/components/inline-tip/test/index.js b/packages/nux/src/components/inline-tip/test/index.js index 56914b414753b..ef66a95b84806 100644 --- a/packages/nux/src/components/inline-tip/test/index.js +++ b/packages/nux/src/components/inline-tip/test/index.js @@ -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(