Skip to content

Commit

Permalink
[SharedUX] Fix warning in solution_nav test
Browse files Browse the repository at this point in the history
  • Loading branch information
Maja Grubic committed Apr 4, 2022
1 parent 9e1fd5e commit 62295dc
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ jest.mock('@elastic/eui', () => ({
useIsWithinBreakpoints: (args: string[]) => {
return args[0] === 'xs';
},
EuiSideNav: function Component() {
// no-op
},
}));

const items: KibanaPageTemplateSolutionNavProps['items'] = [
Expand Down

0 comments on commit 62295dc

Please sign in to comment.