[APM] Make sure jest script can be run from anywhere (#85111)

This commit is contained in:
Dario Gieselaar 2020-12-08 07:55:24 +01:00 committed by GitHub
parent 62e79eec70
commit 213b934386
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -3,9 +3,10 @@
* or more contributor license agreements. Licensed under the Elastic License;
* you may not use this file except in compliance with the Elastic License.
*/
const path = require('path');
module.exports = {
preset: '@kbn/test',
rootDir: '../../..',
rootDir: path.resolve(__dirname, '../../..'),
roots: ['<rootDir>/x-pack/plugins/apm'],
};