File tree Expand file tree Collapse file tree
x-pack/test/api_integration/apis/fleet/agents Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -101,13 +101,13 @@ export default function(providerContext: FtrProviderContext) {
101101 )
102102 . expect ( 200 ) ;
103103 const expectedEvents = eventResponse . list . filter (
104- item =>
104+ ( item : Record < string , string > ) =>
105105 item . action_id === '48cebde1-c906-4893-b89f-595d943b72a1' ||
106106 item . action_id === '48cebde1-c906-4893-b89f-595d943b72a2'
107107 ) ;
108108 expect ( expectedEvents . length ) . to . eql ( 2 ) ;
109- const expectedEvent = eventResponse . list . find (
110- item => item . action_id === '48cebde1-c906-4893-b89f-595d943b72a1'
109+ const expectedEvent = expectedEvents . find (
110+ ( item : Record < string , string > ) => item . action_id === '48cebde1-c906-4893-b89f-595d943b72a1'
111111 ) ;
112112 expect ( expectedEvent ) . to . eql ( {
113113 type : 'ACTION_RESULT' ,
You can’t perform that action at this time.
0 commit comments