Skip to content

Commit

Permalink
fixed test
Browse files Browse the repository at this point in the history
  • Loading branch information
YulNaumenko committed Mar 16, 2021
1 parent 3acd943 commit c0ff617
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ const mockOptions = (
state = {}
): any => {
services.scopedClusterClient = elasticsearchServiceMock.createScopedClusterClient();
services.scopedClusterClient.asCurrentUser = jest.fn();
services.scopedClusterClient.asCurrentUser = (jest.fn() as unknown) as any;

services.savedObjectsClient.get.mockResolvedValue({
id: '',
Expand Down

0 comments on commit c0ff617

Please sign in to comment.