Skip to content

Commit

Permalink
Update disable.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
YulNaumenko authored Oct 17, 2021
1 parent 6e37109 commit 0bcf3cb
Showing 1 changed file with 0 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -179,17 +179,3 @@ export default function createDisableAlertTests({ getService }: FtrProviderConte
});
});
});

async function waitForEvents(id: string, actions: string[]) {
await retry.try(async () => {
return await getEventLog({
getService,
spaceId: Spaces.space1.id,
type: 'alert',
id,
provider: 'alerting',
actions: new Map(actions.map((action) => [action, { gte: 1 }])),
});
});
}
}

0 comments on commit 0bcf3cb

Please sign in to comment.