diff --git a/src/components/button/__test__/__snapshots__/button.test.js.snap b/src/components/button/__test__/__snapshots__/button.test.js.snap index 417ff012..15dfb6dd 100644 --- a/src/components/button/__test__/__snapshots__/button.test.js.snap +++ b/src/components/button/__test__/__snapshots__/button.test.js.snap @@ -1,7 +1,7 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP exports[`Button component Should be a Large Primary Button 1`] = ` - `; -exports[`Button component Should render as a React element link with custom href 1`] = ` +exports[`Button component Should be an anchor button 1`] = ` + +`; + +exports[`Button component Should render as a React element link with to prop 1`] = ` @@ -82,7 +92,7 @@ exports[`Button component Should render as a static Button 1`] = ` `; exports[`Button component Should render be disabled 1`] = ` - { it('Should be a default Button', () => { - const component = renderer.create(); + const component = renderer.create(); + expect(component.toJSON()).toMatchSnapshot(); + }); + it('Should be an anchor button', () => { + const component = renderer.create(); expect(component.toJSON()).toMatchSnapshot(); }); it('Should be a Primary Button', () => { @@ -37,25 +41,13 @@ describe('Button component', () => { const component = renderer.create(); expect(component.toJSON()).toMatchSnapshot(); }); - it('Should render as a React element link with custom href', () => { + it('Should render as a React element link with to prop', () => { const component = renderer.create( - +