Skip to content

Commit 8d332db

Browse files
committed
Fixed merge issues
1 parent 21a0631 commit 8d332db

File tree

2 files changed

+33
-0
lines changed

2 files changed

+33
-0
lines changed

x-pack/legacy/plugins/triggers_actions_ui/np_ready/public/application/sections/alert_details/components/alert_details.test.tsx

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@ describe('alert_details', () => {
4343
const alertType = {
4444
id: '.noop',
4545
name: 'No Op',
46+
actionGroups: ['default'],
47+
actionVariables: [],
4648
};
4749

4850
expect(
@@ -61,6 +63,8 @@ describe('alert_details', () => {
6163
const alertType = {
6264
id: '.noop',
6365
name: 'No Op',
66+
actionGroups: ['default'],
67+
actionVariables: [],
6468
};
6569

6670
expect(
@@ -86,6 +90,8 @@ describe('alert_details', () => {
8690
const alertType = {
8791
id: '.noop',
8892
name: 'No Op',
93+
actionGroups: ['default'],
94+
actionVariables: [],
8995
};
9096

9197
const actionTypes: ActionType[] = [
@@ -133,6 +139,8 @@ describe('alert_details', () => {
133139
const alertType = {
134140
id: '.noop',
135141
name: 'No Op',
142+
actionGroups: ['default'],
143+
actionVariables: [],
136144
};
137145
const actionTypes: ActionType[] = [
138146
{
@@ -181,6 +189,8 @@ describe('alert_details', () => {
181189
const alertType = {
182190
id: '.noop',
183191
name: 'No Op',
192+
actionGroups: ['default'],
193+
actionVariables: [],
184194
};
185195

186196
expect(
@@ -203,6 +213,8 @@ describe('alert_details', () => {
203213
const alertType = {
204214
id: '.noop',
205215
name: 'No Op',
216+
actionGroups: ['default'],
217+
actionVariables: [],
206218
};
207219

208220
expect(
@@ -225,6 +237,8 @@ describe('alert_details', () => {
225237
const alertType = {
226238
id: '.noop',
227239
name: 'No Op',
240+
actionGroups: ['default'],
241+
actionVariables: [],
228242
};
229243

230244
expect(
@@ -252,6 +266,8 @@ describe('enable button', () => {
252266
const alertType = {
253267
id: '.noop',
254268
name: 'No Op',
269+
actionGroups: ['default'],
270+
actionVariables: [],
255271
};
256272

257273
const enableButton = shallow(
@@ -275,6 +291,8 @@ describe('enable button', () => {
275291
const alertType = {
276292
id: '.noop',
277293
name: 'No Op',
294+
actionGroups: ['default'],
295+
actionVariables: [],
278296
};
279297

280298
const enableButton = shallow(
@@ -298,6 +316,8 @@ describe('enable button', () => {
298316
const alertType = {
299317
id: '.noop',
300318
name: 'No Op',
319+
actionGroups: ['default'],
320+
actionVariables: [],
301321
};
302322

303323
const disableAlert = jest.fn();
@@ -330,6 +350,8 @@ describe('enable button', () => {
330350
const alertType = {
331351
id: '.noop',
332352
name: 'No Op',
353+
actionGroups: ['default'],
354+
actionVariables: [],
333355
};
334356

335357
const enableAlert = jest.fn();
@@ -365,6 +387,8 @@ describe('mute button', () => {
365387
const alertType = {
366388
id: '.noop',
367389
name: 'No Op',
390+
actionGroups: ['default'],
391+
actionVariables: [],
368392
};
369393

370394
const enableButton = shallow(
@@ -389,6 +413,8 @@ describe('mute button', () => {
389413
const alertType = {
390414
id: '.noop',
391415
name: 'No Op',
416+
actionGroups: ['default'],
417+
actionVariables: [],
392418
};
393419

394420
const enableButton = shallow(
@@ -413,6 +439,8 @@ describe('mute button', () => {
413439
const alertType = {
414440
id: '.noop',
415441
name: 'No Op',
442+
actionGroups: ['default'],
443+
actionVariables: [],
416444
};
417445

418446
const muteAlert = jest.fn();
@@ -446,6 +474,8 @@ describe('mute button', () => {
446474
const alertType = {
447475
id: '.noop',
448476
name: 'No Op',
477+
actionGroups: ['default'],
478+
actionVariables: [],
449479
};
450480

451481
const unmuteAlert = jest.fn();
@@ -479,6 +509,8 @@ describe('mute button', () => {
479509
const alertType = {
480510
id: '.noop',
481511
name: 'No Op',
512+
actionGroups: ['default'],
513+
actionVariables: [],
482514
};
483515

484516
const enableButton = shallow(

x-pack/legacy/plugins/triggers_actions_ui/np_ready/public/types.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
* or more contributor license agreements. Licensed under the Elastic License;
44
* you may not use this file except in compliance with the Elastic License.
55
*/
6+
import { ActionType } from '../../../../../plugins/actions/common';
67
import { TypeRegistry } from './application/type_registry';
78
import { SanitizedAlert as Alert, AlertAction } from '../../../alerting/common';
89
import {

0 commit comments

Comments
 (0)