mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 17:59:23 -04:00
[jest] update config files to get coverage per plugin (#111299)
* [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>
This commit is contained in:
parent
c4c653606a
commit
b324ca3115
128 changed files with 527 additions and 2 deletions
|
@ -9,4 +9,9 @@ module.exports = {
|
|||
preset: '@kbn/test',
|
||||
rootDir: '../../..',
|
||||
roots: ['<rootDir>/x-pack/plugins/remote_clusters'],
|
||||
coverageDirectory: '<rootDir>/target/kibana-coverage/jest/x-pack/plugins/remote_clusters',
|
||||
coverageReporters: ['text', 'html'],
|
||||
collectCoverageFrom: [
|
||||
'<rootDir>/x-pack/plugins/remote_clusters/{common,public,server}/**/*.{js,ts,tsx}',
|
||||
],
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue