Skip to content

Commit

Permalink
chore: fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
snitin315 committed Jan 18, 2024
1 parent 1e61f89 commit ca457fd
Showing 1 changed file with 10 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,9 @@ it('should migrate the Card component', async () => {
prefix={<CardHeaderIcon icon={InfoIcon} />}
suffix={<CardHeaderCounter intent="positive" value={12} />}
/>
<CardHeaderTrailing visual={<CardHeaderAmount value={123} intent="positive" size="title-small" />} />
<CardHeaderTrailing
visual={<CardHeaderAmount value={123} intent="positive" size="title-small" />}
/>
</CardHeader>
<CardBody>
<Text> Hello World</Text>
Expand Down Expand Up @@ -160,7 +162,13 @@ it('should migrate the Card component', async () => {
prefix={<CardHeaderIcon icon={InfoIcon} />}
suffix={<CardHeaderCounter value={12} color="positive" />}
/>
<CardHeaderTrailing visual={<CardHeaderAmount value={123} color="positive" type="heading" size="large" />} />
<CardHeaderTrailing
visual={<CardHeaderAmount
value={123}
color="feedback.text.positive.intense"
type="heading"
size="large" />}
/>
</CardHeader>
<CardBody>
<Text> Hello World</Text>
Expand Down

0 comments on commit ca457fd

Please sign in to comment.