Skip to content

Commit

Permalink
no need for a constant definition here
Browse files Browse the repository at this point in the history
  • Loading branch information
nerrad committed Jul 12, 2018
1 parent ccb15fa commit cee0bea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core-blocks/more/test/edit.js
Expand Up @@ -18,12 +18,12 @@ describe( 'core/more/edit', () => {
attributes.noTeaser = false;
} );
test( 'should match snapshot when noTeaser is false', () => {
const wrapper = ShallowRenderer.render( <MoreEdit attributes={ attributes } /> );
ShallowRenderer.render( <MoreEdit attributes={ attributes } /> );
expect( ShallowRenderer.getRenderOutput() ).toMatchSnapshot();
} );
test( 'should match snapshot when noTeaser is true', () => {
attributes.noTeaser = true;
const wrapper = ShallowRenderer.render( <MoreEdit attributes={ attributes } /> );
ShallowRenderer.render( <MoreEdit attributes={ attributes } /> );
expect( ShallowRenderer.getRenderOutput() ).toMatchSnapshot();
} );
} );

0 comments on commit cee0bea

Please sign in to comment.