Skip to content

Commit

Permalink
Update unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
Mamaduka committed Dec 6, 2024
1 parent a018537 commit dd57467
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/block-editor/src/components/warning/test/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@ describe( 'Warning', () => {

it( 'should show primary actions', () => {
render(
<Warning actions={ <button>Click me</button> }>Message</Warning>
<Warning actions={ [ <button key="test">Click me</button> ] }>
Message
</Warning>
);

expect(
Expand Down

0 comments on commit dd57467

Please sign in to comment.