[Uptime] add data mock to rtl helpers (#99483)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
This commit is contained in:
parent
2f90e73569
commit
9715157467
|
@ -10,8 +10,7 @@ import { screen } from '@testing-library/dom';
|
|||
import { AlertMonitorStatusComponent, AlertMonitorStatusProps } from './alert_monitor_status';
|
||||
import { render } from '../../../../lib/helper/rtl_helpers';
|
||||
|
||||
// Failing: See https://github.com/elastic/kibana/issues/98910
|
||||
describe.skip('alert monitor status component', () => {
|
||||
describe('alert monitor status component', () => {
|
||||
describe('AlertMonitorStatus', () => {
|
||||
const defaultProps: AlertMonitorStatusProps = {
|
||||
alertParams: {
|
||||
|
|
|
@ -28,6 +28,7 @@ import { AppState } from '../../state';
|
|||
import { stringifyUrlParams } from './stringify_url_params';
|
||||
import { ClientPluginsStart } from '../../apps/plugin';
|
||||
import { triggersActionsUiMock } from '../../../../triggers_actions_ui/public/mocks';
|
||||
import { dataPluginMock } from '../../../../../../src/plugins/data/public/mocks';
|
||||
|
||||
interface KibanaProps {
|
||||
services?: KibanaServices;
|
||||
|
@ -104,6 +105,7 @@ const mockCore: () => Partial<CoreStart> = () => {
|
|||
},
|
||||
triggersActionsUi: triggersActionsUiMock.createStart(),
|
||||
storage: createMockStore(),
|
||||
data: dataPluginMock.createStartContract(),
|
||||
};
|
||||
|
||||
return core;
|
||||
|
|
Loading…
Reference in a new issue