Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
getdave committed Nov 23, 2021
1 parent 75b3198 commit e362a18
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/edit-site/src/store/test/selectors.js
Expand Up @@ -115,6 +115,7 @@ describe( 'selectors', () => {
focusMode: false,
hasFixedToolbar: false,
__experimentalSetIsInserterOpened: setInserterOpened,
__experimentalReusableBlocks: [],
} );
} );

Expand All @@ -129,12 +130,14 @@ describe( 'selectors', () => {
},
};
const setInserterOpened = () => {};

expect( getSettings( state, setInserterOpened ) ).toEqual( {
outlineMode: true,
key: 'value',
focusMode: true,
hasFixedToolbar: true,
__experimentalSetIsInserterOpened: setInserterOpened,
__experimentalReusableBlocks: [],
mediaUpload: expect.any( Function ),
} );
} );
Expand Down

0 comments on commit e362a18

Please sign in to comment.