[Security Solution]Fix basepath used by endpoint telemetry tests (#79027)
* Fix basepath used by endpoint telemetry tests * Linting
This commit is contained in:
parent
c1a3002c16
commit
f4c5ebca9d
|
@ -5,10 +5,14 @@
|
|||
*/
|
||||
import fs from 'fs';
|
||||
import Path from 'path';
|
||||
import { KIBANA_ROOT } from '@kbn/test';
|
||||
import { FtrProviderContext } from '../ftr_provider_context';
|
||||
|
||||
const TELEMETRY_API_ROOT = '/api/stats?extended=true';
|
||||
const TELEMETRY_DATA_ROOT = 'test/functional/es_archives/endpoint/telemetry/';
|
||||
const TELEMETRY_DATA_ROOT = Path.join(
|
||||
KIBANA_ROOT,
|
||||
'x-pack/test/functional/es_archives/endpoint/telemetry/'
|
||||
);
|
||||
|
||||
interface EndpointTelemetry {
|
||||
total_installed: number;
|
||||
|
|
Loading…
Reference in a new issue