From 88deb8be4b2728b19a8d86c4ecab44538dd6641f Mon Sep 17 00:00:00 2001 From: Ben Dwyer Date: Mon, 13 May 2024 09:48:31 +0900 Subject: [PATCH] update the test to take blockName as a string --- packages/blocks/src/store/test/reducer.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/blocks/src/store/test/reducer.js b/packages/blocks/src/store/test/reducer.js index 7c5dcbf861fc6e..001f387c1ac961 100644 --- a/packages/blocks/src/store/test/reducer.js +++ b/packages/blocks/src/store/test/reducer.js @@ -113,7 +113,7 @@ describe( 'blockStyles', () => { let state = blockStyles( original, { type: 'ADD_BLOCK_STYLES', - blockNames: [ blockName ], + blockNames: blockName, styles: [ { name: 'fancy' } ], } ); @@ -123,7 +123,7 @@ describe( 'blockStyles', () => { state = blockStyles( state, { type: 'ADD_BLOCK_STYLES', - blockNames: [ blockName ], + blockNames: blockName, styles: [ { name: 'lightbox' } ], } );