Skip to content

Commit

Permalink
feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
mjhuff committed Mar 18, 2024
1 parent c6790e2 commit 47128e5
Showing 1 changed file with 10 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { fireEvent, screen } from '@testing-library/react'
import '@testing-library/jest-dom/vitest'
import { ALIGN_CENTER, JUSTIFY_CENTER } from '../../../styles'
import { renderWithProviders } from '../../../testing/utils'
import { COLORS } from '../../../helix-design-system'
import { BORDERS, COLORS } from '../../../helix-design-system'
import { TYPOGRAPHY, SPACING } from '../../../ui-style-constants'
import { CheckboxField } from '..'

Expand Down Expand Up @@ -43,7 +43,9 @@ describe('CheckboxField', () => {
expect(checkBoxIcon).toHaveStyle(`min-width: 1.25rem`)
expect(checkBoxIcon).toHaveStyle(`color: ${String(COLORS.grey60)}`)
expect(checkBoxIcon).toHaveStyle(`display: flex`)
expect(checkBoxIcon).toHaveStyle(`border-radius: 2px`)
expect(checkBoxIcon).toHaveStyle(
`border-radius: ${String(BORDERS.borderRadius2)}`
)
expect(checkBoxIcon).toHaveStyle(
`justify-content: ${String(JUSTIFY_CENTER)}`
)
Expand Down Expand Up @@ -82,7 +84,9 @@ describe('CheckboxField', () => {
expect(checkBoxIcon).toHaveStyle(`min-width: 1.25rem`)
expect(checkBoxIcon).toHaveStyle(`color: ${String(COLORS.blue60)}`)
expect(checkBoxIcon).toHaveStyle(`display: flex`)
expect(checkBoxIcon).toHaveStyle(`border-radius: 2px`)
expect(checkBoxIcon).toHaveStyle(
`border-radius: ${String(BORDERS.borderRadius2)}`
)
expect(checkBoxIcon).toHaveStyle(
`justify-content: ${String(JUSTIFY_CENTER)}`
)
Expand All @@ -97,7 +101,9 @@ describe('CheckboxField', () => {
expect(checkBoxIcon).toHaveStyle(`min-width: 1.25rem`)
expect(checkBoxIcon).toHaveStyle(`color: ${String(COLORS.grey60)}`)
expect(checkBoxIcon).toHaveStyle(`display: flex`)
expect(checkBoxIcon).toHaveStyle(`border-radius: 2px`)
expect(checkBoxIcon).toHaveStyle(
`border-radius: ${String(BORDERS.borderRadius2)}`
)
expect(checkBoxIcon).toHaveStyle(
`justify-content: ${String(JUSTIFY_CENTER)}`
)
Expand Down

0 comments on commit 47128e5

Please sign in to comment.