diff --git a/packages/block-editor/src/components/warning/test/index.js b/packages/block-editor/src/components/warning/test/index.js
index 6a0373da611c01..bdb910f68c16e0 100644
--- a/packages/block-editor/src/components/warning/test/index.js
+++ b/packages/block-editor/src/components/warning/test/index.js
@@ -18,7 +18,9 @@ describe( 'Warning', () => {
it( 'should show primary actions', () => {
render(
- Click me }>Message
+ Click me ] }>
+ Message
+
);
expect(