From bd32f54255fdd14ed0c14738867d51608d95be14 Mon Sep 17 00:00:00 2001 From: Veronica Gonzalez Date: Fri, 31 May 2024 13:08:10 +0200 Subject: [PATCH] feat(@clayui/card): LPD-1261 Update tests adding name in radioProps --- .../clay-card/src/__tests__/__snapshots__/index.tsx.snap | 3 +++ packages/clay-card/src/__tests__/index.tsx | 6 +++--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/packages/clay-card/src/__tests__/__snapshots__/index.tsx.snap b/packages/clay-card/src/__tests__/__snapshots__/index.tsx.snap index 7ffeb9a2fb..ce5369a3af 100644 --- a/packages/clay-card/src/__tests__/__snapshots__/index.tsx.snap +++ b/packages/clay-card/src/__tests__/__snapshots__/index.tsx.snap @@ -1665,6 +1665,7 @@ exports[`ClayCardWithHorizontal renders with radio button 1`] = ` { href="#" name="Foo Bar" onSelectChange={jest.fn()} - radioProps={{value: 'radio1'}} + radioProps={{name: 'cards', value: 'radio1'}} selectableType="radio" spritemap="/path/to/some/resource.svg" /> @@ -835,7 +835,7 @@ describe('ClayCardWithHorizontal', () => { disabled href="#" onSelectChange={jest.fn()} - radioProps={{value: 'radio1'}} + radioProps={{name: 'cards', value: 'radio1'}} selectableType="radio" selected={false} spritemap="/path/to/some/resource.svg" @@ -1146,7 +1146,7 @@ describe('ClayCardWithInfo', () => {