kibana/jest.config.js
Tyler Smalley 28022c8874
[7.16] [ci] Run Jest tests in parallel (#117188) (#118244)
* [ci] Run Jest tests in parallel (#117188)

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>

* [jest] Fix snapshot caused by environment (#118114)

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>

* Add configs

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2021-11-18 18:45:18 -07:00

24 lines
985 B
JavaScript

/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License
* 2.0 and the Server Side Public License, v 1; you may not use this file except
* in compliance with, at your election, the Elastic License 2.0 or the Server
* Side Public License, v 1.
*/
module.exports = {
preset: '@kbn/test',
rootDir: '.',
projects: [
'<rootDir>/packages/*/jest.config.js',
'<rootDir>/src/*/jest.config.js',
'<rootDir>/src/plugins/*/jest.config.js',
'<rootDir>/src/plugins/chart_expressions/*/jest.config.js',
'<rootDir>/src/plugins/vis_types/*/jest.config.js',
'<rootDir>/test/*/jest.config.js',
'<rootDir>/x-pack/plugins/*/jest.config.js',
'<rootDir>/x-pack/plugins/security_solution/*/jest.config.js',
'<rootDir>/x-pack/plugins/security_solution/public/*/jest.config.js',
'<rootDir>/x-pack/plugins/security_solution/server/*/jest.config.js',
],
};