Skip to content

Commit 2aee9eb

Browse files
committed
Fix radiopanelgroup test
1 parent ccbd7e4 commit 2aee9eb

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

static/app/views/alerts/wizard/radioPanelGroup.spec.tsx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ describe('RadioGroupPanel', function () {
1111
label="test"
1212
value="choice_one"
1313
choices={[
14-
['choice_one', 'Choice One'],
15-
['choice_two', 'Choice Two'],
16-
['choice_three', 'Choice Three'],
14+
{id: 'choice_one', name: 'Choice One'},
15+
{id: 'choice_two', name: 'Choice Two'},
16+
{id: 'choice_three', name: 'Choice Three'},
1717
]}
1818
onChange={mock}
1919
/>
@@ -32,9 +32,9 @@ describe('RadioGroupPanel', function () {
3232
label="test"
3333
value="choice_one"
3434
choices={[
35-
['choice_one', 'Choice One'],
36-
['choice_two', 'Choice Two', 'extra content'],
37-
['choice_three', 'Choice Three'],
35+
{id: 'choice_one', name: 'Choice One'},
36+
{id: 'choice_two', name: 'Choice Two', trailingContent: 'extra content'},
37+
{id: 'choice_three', name: 'Choice Three'},
3838
]}
3939
onChange={mock}
4040
/>

0 commit comments

Comments
 (0)