mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 17:59:23 -04:00
28 lines
981 B
JavaScript
28 lines
981 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
|
|
* and the Server Side Public License, v 1; you may not use this file except in
|
|
* compliance with, at your election, the Elastic License or the Server Side
|
|
* Public License, v 1.
|
|
*/
|
|
|
|
const preset = require('@kbn/test/jest-preset');
|
|
|
|
module.exports = {
|
|
preset: '@kbn/test',
|
|
rootDir: '.',
|
|
roots: ['<rootDir>/src', '<rootDir>/packages'],
|
|
testMatch: ['**/integration_tests**/*.test.{js,mjs,ts,tsx}'],
|
|
testRunner: 'jasmine2',
|
|
testPathIgnorePatterns: preset.testPathIgnorePatterns.filter(
|
|
(pattern) => !pattern.includes('integration_tests')
|
|
),
|
|
reporters: [
|
|
'default',
|
|
[
|
|
'<rootDir>/packages/kbn-test/target/jest/junit_reporter',
|
|
{ reportName: 'Jest Integration Tests' },
|
|
],
|
|
],
|
|
setupFilesAfterEnv: ['<rootDir>/packages/kbn-test/target/jest/setup/after_env.integration.js'],
|
|
};
|