Skip to content

Commit

Permalink
Colors test corrections
Browse files Browse the repository at this point in the history
  • Loading branch information
YellouMeli committed Aug 5, 2024
1 parent 286908f commit 0759b02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/routes/ThemePreview/__test__/ColorSwatch.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ describe('ColorSwatch', () => {
it('should display a tertiary color swatch', async () => {
render(<ColorSwatch color='tertiary' data-testid="swatch" />)
const swatch = await screen.findByTestId('swatch')
expect(swatch).toHaveStyle('background-color: rgb(0, 105, 92);')
expect(swatch).toHaveStyle('background-color: rgb(40,53,147);')
})

it('should gracefully handle an unknown color', async () => {
Expand Down

0 comments on commit 0759b02

Please sign in to comment.