Skip to content

Commit

Permalink
Fix TypeScript issue in x-pack/test
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Watson committed Sep 28, 2023
1 parent fdf0ab7 commit 45781f4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion x-pack/test/fleet_api_integration/apis/fleet_telemetry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import {
X_ELASTIC_INTERNAL_ORIGIN_REQUEST,
} from '@kbn/core-http-common';
import expect from '@kbn/expect';
import type { GetAgentsResponse } from '@kbn/fleet-plugin/common';
import { FtrProviderContext } from '../../api_integration/ftr_provider_context';
import { skipIfNoDockerRegistry, generateAgent } from '../helpers';
import { setupFleetAndAgents } from './agents/services';
Expand Down Expand Up @@ -130,7 +131,7 @@ export default function (providerContext: FtrProviderContext) {
expectedAgentCount: number,
attempts: number,
_attemptsMade = 0
): Promise<any> {
): Promise<GetAgentsResponse> {
const { body: apiResponse } = await supertest
.get(`/api/fleet/agents?showInactive=true`)
.set('kbn-xsrf', 'xxxx')
Expand Down

0 comments on commit 45781f4

Please sign in to comment.