We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3acd943 commit c0ff617Copy full SHA for c0ff617
x-pack/plugins/uptime/server/lib/alerts/status_check.test.ts
@@ -65,7 +65,7 @@ const mockOptions = (
65
state = {}
66
): any => {
67
services.scopedClusterClient = elasticsearchServiceMock.createScopedClusterClient();
68
- services.scopedClusterClient.asCurrentUser = jest.fn();
+ services.scopedClusterClient.asCurrentUser = (jest.fn() as unknown) as any;
69
70
services.savedObjectsClient.get.mockResolvedValue({
71
id: '',
0 commit comments