From 3a7a086ee9954acf1ab4c9ef53a85dd0ee9d2a21 Mon Sep 17 00:00:00 2001 From: Narin Ratana Date: Tue, 21 Nov 2023 10:05:02 -0800 Subject: [PATCH] Update unit tests --- packages/components/src/components/Button/Button.test.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/components/src/components/Button/Button.test.tsx b/packages/components/src/components/Button/Button.test.tsx index 5be46e0f..30ddec0e 100644 --- a/packages/components/src/components/Button/Button.test.tsx +++ b/packages/components/src/components/Button/Button.test.tsx @@ -118,7 +118,7 @@ describe('Button', () => { const { backgroundColor, borderWidth, borderColor } = button.props.style const { color } = text.props.style - expect(backgroundColor).toEqual(DesignTokens.colorWhite) + expect(backgroundColor).toEqual('transparent') expect(borderColor).toEqual(DesignTokens.colorUswdsSystemColorBlueVivid60) expect(borderWidth).toEqual(2) expect(color).toEqual(DesignTokens.colorUswdsSystemColorBlueVivid60) @@ -139,7 +139,7 @@ describe('Button', () => { const { backgroundColor, borderColor, borderWidth } = button.props.style const { color } = text.props.style - expect(backgroundColor).toEqual(DesignTokens.colorWhite) + expect(backgroundColor).toEqual('transparent') expect(borderColor).toEqual( DesignTokens.colorUswdsSystemColorBlueWarmVivid80, ) @@ -252,7 +252,7 @@ describe('Button', () => { const { backgroundColor, borderWidth, borderColor } = button.props.style const { color } = text.props.style - expect(backgroundColor).toEqual(DesignTokens.colorWhite) + expect(backgroundColor).toEqual('transparent') expect(borderColor).toEqual(DesignTokens.colorGrayMedium) expect(borderWidth).toEqual(2) expect(color).toEqual(DesignTokens.colorGrayMedium) @@ -273,7 +273,7 @@ describe('Button', () => { const { backgroundColor, borderColor, borderWidth } = button.props.style const { color } = text.props.style - expect(backgroundColor).toEqual(DesignTokens.colorWhite) + expect(backgroundColor).toEqual('transparent') expect(borderColor).toEqual(DesignTokens.colorUswdsSystemColorGray80) expect(borderWidth).toEqual(2) expect(color).toEqual(DesignTokens.colorUswdsSystemColorGray80)