kibana/test/functional/config.coverage.js

24 lines
660 B
JavaScript
Raw Normal View History

/*
* 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.
*/
2020-05-22 09:08:58 +02:00
export default async function ({ readConfigFile }) {
const defaultConfig = await readConfigFile(require.resolve('./config'));
return {
...defaultConfig.getAll(),
suiteTags: {
exclude: ['skipCoverage'],
},
junit: {
reportName: 'Code Coverage for Functional Tests',
},
};
}