From 82fea932283012cc21a6202712b3bf1b3b41b818 Mon Sep 17 00:00:00 2001 From: Jon Rohan Date: Thu, 17 Oct 2024 16:10:14 -0700 Subject: [PATCH] Update Button.test.tsx --- .../src/Button/__tests__/Button.test.tsx | 83 ++++++++++--------- 1 file changed, 42 insertions(+), 41 deletions(-) diff --git a/packages/react/src/Button/__tests__/Button.test.tsx b/packages/react/src/Button/__tests__/Button.test.tsx index bea2fb83a6a..3a5a253ff0e 100644 --- a/packages/react/src/Button/__tests__/Button.test.tsx +++ b/packages/react/src/Button/__tests__/Button.test.tsx @@ -25,6 +25,48 @@ const StatefulLoadingButton = (props: StatefulLoadingButtonProps) => { return - , - ) - expect(container.firstChild).toHaveClass('ButtonBase') - }) - - it('linkbutton should support custom `className` along with default classnames', () => { - const {container} = render( - - Hello - , - ) - expect(container.firstChild).toHaveClass('ButtonBase') - }) - }) })