Skip to content

Commit

Permalink
test fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mjhuff committed Feb 21, 2024
1 parent 3acc39c commit f5e7c36
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/src/atoms/buttons/__tests__/ToggleButton.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ describe('ToggleButton', () => {
props.disabled = true
const { getByLabelText } = render(props)
const button = getByLabelText('toggle button')
expect(button).toHaveStyleRule('color', `${String(COLORS.grey40)}`, {
expect(button).toHaveStyleRule('color', `${String(COLORS.grey30)}`, {
modifier: ':disabled',
})
})
Expand All @@ -73,7 +73,7 @@ describe('ToggleButton', () => {
props.toggledOn = false
const { getByLabelText } = render(props)
const button = getByLabelText('toggle button')
expect(button).toHaveStyle(`color: ${String(COLORS.grey60)}`)
expect(button).toHaveStyle(`color: ${String(COLORS.grey50)}`)
expect(button).toHaveStyle(`height: ${String(SIZE_2)}`)
expect(button).toHaveStyle(`width: ${String(SIZE_2)}`)
expect(button).toHaveAttribute('aria-checked', 'false')
Expand Down Expand Up @@ -106,7 +106,7 @@ describe('ToggleButton', () => {
props.disabled = true
const { getByLabelText } = render(props)
const button = getByLabelText('toggle button')
expect(button).toHaveStyleRule('color', `${String(COLORS.grey40)}`, {
expect(button).toHaveStyleRule('color', `${String(COLORS.grey30)}`, {
modifier: ':disabled',
})
})
Expand Down

0 comments on commit f5e7c36

Please sign in to comment.