From cee0bea28295dd835d62087dfd9ffbf40fc3989c Mon Sep 17 00:00:00 2001 From: Darren Ethier Date: Fri, 6 Jul 2018 15:53:02 -0400 Subject: [PATCH] no need for a constant definition here --- core-blocks/more/test/edit.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core-blocks/more/test/edit.js b/core-blocks/more/test/edit.js index 55050e95dec5c..8c7bad4e170c1 100644 --- a/core-blocks/more/test/edit.js +++ b/core-blocks/more/test/edit.js @@ -18,12 +18,12 @@ describe( 'core/more/edit', () => { attributes.noTeaser = false; } ); test( 'should match snapshot when noTeaser is false', () => { - const wrapper = ShallowRenderer.render( ); + ShallowRenderer.render( ); expect( ShallowRenderer.getRenderOutput() ).toMatchSnapshot(); } ); test( 'should match snapshot when noTeaser is true', () => { attributes.noTeaser = true; - const wrapper = ShallowRenderer.render( ); + ShallowRenderer.render( ); expect( ShallowRenderer.getRenderOutput() ).toMatchSnapshot(); } ); } );