diff --git a/x-pack/test/functional_endpoint/services/endpoint_policy.ts b/x-pack/test/functional_endpoint/services/endpoint_policy.ts index 3820b5737e6e8..f674c66091e0a 100644 --- a/x-pack/test/functional_endpoint/services/endpoint_policy.ts +++ b/x-pack/test/functional_endpoint/services/endpoint_policy.ts @@ -74,8 +74,7 @@ export function EndpointPolicyTestResourcesProvider({ getService }: FtrProviderC logSupertestApiErrorAndThrow('Unable to get full Agent Configuration', error); } - // @ts-ignore - return fullAgentConfig; + return fullAgentConfig!; }, /**