Skip to content

Commit

Permalink
[APM] Make sure jest script can be run from anywhere (#85111)
Browse files Browse the repository at this point in the history
  • Loading branch information
dgieselaar committed Dec 8, 2020
1 parent 7367b17 commit bb8640d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion x-pack/plugins/apm/jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'],
};

0 comments on commit bb8640d

Please sign in to comment.