Skip to content

Commit

Permalink
update the test to take blockName as a string
Browse files Browse the repository at this point in the history
  • Loading branch information
scruffian committed May 13, 2024
1 parent dba1d19 commit 88deb8b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/blocks/src/store/test/reducer.js
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ describe( 'blockStyles', () => {

let state = blockStyles( original, {
type: 'ADD_BLOCK_STYLES',
blockNames: [ blockName ],
blockNames: blockName,
styles: [ { name: 'fancy' } ],
} );

Expand All @@ -123,7 +123,7 @@ describe( 'blockStyles', () => {

state = blockStyles( state, {
type: 'ADD_BLOCK_STYLES',
blockNames: [ blockName ],
blockNames: blockName,
styles: [ { name: 'lightbox' } ],
} );

Expand Down

0 comments on commit 88deb8b

Please sign in to comment.