Skip to content

Commit

Permalink
fix jest tests, adds missing mocked rule object to alert executor params
Browse files Browse the repository at this point in the history
  • Loading branch information
dhurley14 authored and yctercero committed Jun 7, 2021
1 parent 0896f00 commit 4d4920e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions x-pack/plugins/apm/server/lib/alerts/test_utils/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ export const createRuleTypeMocks = () => {
executor: async ({ params }: { params: Record<string, any> }) => {
return alertExecutor({
services,
rule: { consumer: 'apm' },
params,
startedAt: new Date(),
});
Expand Down

0 comments on commit 4d4920e

Please sign in to comment.