Skip to content

Commit

Permalink
fix a hover test case of AlertPrimaryButton
Browse files Browse the repository at this point in the history
  • Loading branch information
koji committed Mar 6, 2024
1 parent c3b86f0 commit 12a9bd8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ describe('AlertPrimaryButton', () => {
it('renders alert primary button with text', () => {
render(props)
const button = screen.getByText('alert primary button')
expect(button).toHaveStyle(`background-color: ${COLORS.red50}`)
expect(button).toHaveStyle(`background-color: ${COLORS.red55}`)
expect(button).toHaveStyle(
`padding: ${SPACING.spacing8} ${SPACING.spacing16} ${SPACING.spacing8} ${SPACING.spacing16}`
)
Expand Down

0 comments on commit 12a9bd8

Please sign in to comment.