Skip to content

Commit ce5fd37

Browse files
committed
fixed jest tests
1 parent 491e2cb commit ce5fd37

4 files changed

Lines changed: 4592 additions & 3 deletions

File tree

x-pack/plugins/alerting/server/task_runner/task_runner.test.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -429,8 +429,9 @@ describe('Task Runner', () => {
429429
event: { action: 'active-instance', category: ['alerts'], kind: 'alert' },
430430
kibana: {
431431
alerting: { action_group_id: 'default', action_subgroup: 'subDefault', instance_id: '1' },
432-
saved_objects: [{ id: '1', namespace: undefined, rel: 'primary', type: 'alert' }],
433-
type_id: 'test',
432+
saved_objects: [
433+
{ id: '1', namespace: undefined, rel: 'primary', type: 'alert', type_id: 'test' },
434+
],
434435
},
435436
message:
436437
"test:1: 'alert-name' active instance: '1' in actionGroup(subgroup): 'default(subDefault)'",
@@ -503,7 +504,7 @@ describe('Task Runner', () => {
503504
namespace: undefined,
504505
rel: 'primary',
505506
type: 'alert',
506-
type_id: 'test',
507+
type_id: 'test',
507508
},
508509
],
509510
},

0 commit comments

Comments
 (0)