Fix up registerWooBlockType unit test

This commit is contained in:
Matt Sherman 2023-10-18 18:41:22 -04:00
parent 076939f2e4
commit d14124c513
1 changed files with 6 additions and 0 deletions

View File

@ -26,6 +26,7 @@ describe( 'registerWooBlockType', () => {
},
settings: {
foo: 'bar',
edit: jest.fn(),
},
};
@ -49,10 +50,15 @@ describe( 'registerWooBlockType', () => {
type: 'integer',
__experimentalRole: 'content',
},
_templateBlockHideConditions: {
type: 'array',
__experimentalRole: 'content',
},
},
},
{
foo: 'bar',
edit: expect.any( Function ),
}
);
} );