Skip to content

Commit

Permalink
Fixing types
Browse files Browse the repository at this point in the history
  • Loading branch information
ymao1 committed Dec 16, 2021
1 parent a3d29ee commit 149aabc
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,11 @@
import React from 'react';
import { chartPluginMock } from '../../../../../../../src/plugins/charts/public/mocks';
import { dataPluginMock } from '../../../../../../../src/plugins/data/public/mocks';
import { coreMock, scopedHistoryMock } from '../../../../../../../src/core/public/mocks';
import {
coreMock,
scopedHistoryMock,
themeServiceMock,
} from '../../../../../../../src/core/public/mocks';
import { KibanaContextProvider } from '../../../../../../../src/plugins/kibana_react/public';
import { TriggersAndActionsUiServices } from '../../../application/app';
import { RuleTypeRegistryContract, ActionTypeRegistryContract } from '../../../types';
Expand Down Expand Up @@ -45,6 +49,7 @@ export const createStartServicesMock = (): TriggersAndActionsUiServices => {
element: {
style: { cursor: 'pointer' },
} as unknown as HTMLElement,
theme$: themeServiceMock.createTheme$(),
} as TriggersAndActionsUiServices;
};

Expand Down

0 comments on commit 149aabc

Please sign in to comment.