Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix test
  • Loading branch information
talldan committed Sep 10, 2025
commit 06b32fcfc86cbebfc3417e1a229a9b104f1c2635
12 changes: 12 additions & 0 deletions packages/block-editor/src/store/test/selectors.js
Original file line number Diff line number Diff line change
Expand Up @@ -3402,6 +3402,18 @@ describe( 'selectors', () => {
( item ) => item.id === 'core/block/1'
);
expect( reusableBlockItem ).toEqual( {
blocks: [
expect.objectContaining( {
attributes: {
metadata: expect.objectContaining( {
name: 'Reusable Block 1',
patternName: 'core/block/1',
} ),
},
isValid: true,
innerBlocks: [],
} ),
],
category: 'reusable',
content: '<!-- /wp:test-block-a -->',
frecency: 0,
Expand Down