From c1ccd01d3007c55931c30720267155df24f93cc6 Mon Sep 17 00:00:00 2001 From: Narin Ratana Date: Thu, 16 Nov 2023 09:22:48 -0800 Subject: [PATCH] Grouped tests with default (primary) variant --- .../src/components/Button/Button.test.tsx | 31 +++++++++---------- 1 file changed, 15 insertions(+), 16 deletions(-) diff --git a/packages/components/src/components/Button/Button.test.tsx b/packages/components/src/components/Button/Button.test.tsx index 70a86862..38b54c1d 100644 --- a/packages/components/src/components/Button/Button.test.tsx +++ b/packages/components/src/components/Button/Button.test.tsx @@ -13,26 +13,25 @@ describe('Button', () => { const label = 'Button text' const onPressSpy = jest.fn() - it('initializes correctly', async () => { - component = render(