Skip to content

Commit

Permalink
REFACTOR: Update ButtonGroup test snapshot key property from index to id
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesAlias committed Mar 15, 2023
1 parent 3bf0847 commit 03f32fd
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ exports[`<ButtonGroup/> should render correctly. 1`] = `
}
id="foo"
isPressed={true}
key="0"
key="foo"
onClick={[MockFunction]}
>
Foo button
Expand All @@ -29,7 +29,7 @@ exports[`<ButtonGroup/> should render correctly. 1`] = `
}
id="bar"
isPressed={false}
key="1"
key="bar"
onClick={[MockFunction]}
>
Bar button
Expand Down

0 comments on commit 03f32fd

Please sign in to comment.