Skip to content
Merged
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
Update useResizeObserver mock
  • Loading branch information
fluiddot committed Jul 13, 2021
commit dc934033106b8c340de94c85d4f1360e4b3714ca
2 changes: 1 addition & 1 deletion test/native/setup.js
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ jest.mock( '@wordpress/compose', () => {
...jest.requireActual( '@wordpress/compose' ),
useViewportMatch: jest.fn(),
useResizeObserver: jest.fn( () => [
jest.fn(),
mockComponent( 'ResizeObserverMock' )( {} ),
{ width: 100, height: 100 },
] ),
};
Expand Down