Skip to content

Commit

Permalink
EMT-248: fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
nnamdifrankie committed Mar 16, 2020
1 parent 08d6a61 commit 2fe97cd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions x-pack/test/api_integration/apis/fleet/agents/acks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -101,13 +101,13 @@ export default function(providerContext: FtrProviderContext) {
)
.expect(200);
const expectedEvents = eventResponse.list.filter(
item =>
(item: Record<string, string>) =>
item.action_id === '48cebde1-c906-4893-b89f-595d943b72a1' ||
item.action_id === '48cebde1-c906-4893-b89f-595d943b72a2'
);
expect(expectedEvents.length).to.eql(2);
const expectedEvent = eventResponse.list.find(
item => item.action_id === '48cebde1-c906-4893-b89f-595d943b72a1'
const expectedEvent = expectedEvents.find(
(item: Record<string, string>) => item.action_id === '48cebde1-c906-4893-b89f-595d943b72a1'
);
expect(expectedEvent).to.eql({
type: 'ACTION_RESULT',
Expand Down

0 comments on commit 2fe97cd

Please sign in to comment.