mirror of
https://github.com/elastic/kibana.git
synced 2025-06-27 18:51:07 -04:00
* [jest] update config files to get coverage per plugin * [docs] add details about plugin coverage collection * fix path for newsfeed jest config * fix lint error * update documentation * fix lint errors again * update doc * fix another lint error * Update src/plugins/telemetry_management_section/jest.config.js Co-authored-by: Luke Elmers <lukeelmers@gmail.com> * Update src/plugins/telemetry_management_section/jest.config.js Co-authored-by: Luke Elmers <lukeelmers@gmail.com> * [kibana_legacy] fix path Co-authored-by: Luke Elmers <lukeelmers@gmail.com> Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> # Conflicts: # packages/kbn-ui-framework/README.md # src/plugins/legacy_export/jest.config.js
16 lines
689 B
JavaScript
16 lines
689 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: '../../..',
|
|
roots: ['<rootDir>/src/plugins/legacy_export'],
|
|
coverageDirectory: '<rootDir>/target/kibana-coverage/jest/src/plugins/legacy_export',
|
|
coverageReporters: ['text', 'html'],
|
|
collectCoverageFrom: ['<rootDir>/src/plugins/interactive_setup/public/**/*.{ts,tsx}'],
|
|
};
|