From b7d989e0dafb23866f65295a851e6b8734c3b693 Mon Sep 17 00:00:00 2001 From: Daniel Richards Date: Thu, 21 Nov 2024 13:58:58 +0800 Subject: [PATCH] Fix typo in use-block-sync tests (#67145) Co-authored-by: talldan Co-authored-by: ramonjd --- .../src/components/provider/test/use-block-sync.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/block-editor/src/components/provider/test/use-block-sync.js b/packages/block-editor/src/components/provider/test/use-block-sync.js index aae5e517c6302..b2afdb942e66f 100644 --- a/packages/block-editor/src/components/provider/test/use-block-sync.js +++ b/packages/block-editor/src/components/provider/test/use-block-sync.js @@ -22,7 +22,9 @@ jest.mock( '../../../store/actions', () => { ...actions, resetBlocks: jest.fn( actions.resetBlocks ), replaceInnerBlocks: jest.fn( actions.replaceInnerBlocks ), - setHasControlledInnerBlocks: jest.fn( actions.replaceInnerBlocks ), + setHasControlledInnerBlocks: jest.fn( + actions.setHasControlledInnerBlocks + ), }; } );