diff --git a/packages/react-core/src/components/Button/__tests__/Button.test.tsx b/packages/react-core/src/components/Button/__tests__/Button.test.tsx index b8d19a3472e..a293b4037ee 100644 --- a/packages/react-core/src/components/Button/__tests__/Button.test.tsx +++ b/packages/react-core/src/components/Button/__tests__/Button.test.tsx @@ -103,6 +103,22 @@ describe('Button', () => { expect(asFragment()).toMatchSnapshot(); }); + test('isLoading inline link', () => { + const { asFragment } = render( + + ); + expect(asFragment()).toMatchSnapshot(); + }); + + test('isLoading icon only', () => { + const { asFragment } = render( + ); @@ -130,11 +146,4 @@ describe('Button', () => { render(); expect(screen.getByRole('button')).toHaveAttribute('tabindex', '0'); }); - - test('isLoading icon only', () => { - const { asFragment } = render( - + +`; + exports[`Button isSmall 1`] = ` {' '} {' '} +
+
{' '} ); };