Fix up registerWooBlockType unit test
This commit is contained in:
parent
076939f2e4
commit
d14124c513
|
@ -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 ),
|
||||
}
|
||||
);
|
||||
} );
|
||||
|
|
Loading…
Reference in New Issue