Skip to content

Commit

Permalink
Update unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
narin committed Nov 21, 2023
1 parent 6c03954 commit 3a7a086
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/components/src/components/Button/Button.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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,
)
Expand Down Expand Up @@ -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)
Expand All @@ -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)
Expand Down

0 comments on commit 3a7a086

Please sign in to comment.