kibana/x-pack/examples/alerting_example/jest.config.js
Patrick Mueller 0156d6ffc0
adds an example rule type example.pattern (#150068)
## Summary

See the included help file for more details:
[`x-pack/examples/alerting_example/server/alert_types/pattern.md`](https://github.com/pmuellr/kibana/blob/main/x-pack/examples/alerting_example/server/alert_types/pattern.md).

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2023-02-07 10:33:12 -05:00

17 lines
630 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; you may not use this file except in compliance with the Elastic License
* 2.0.
*/
module.exports = {
preset: '@kbn/test',
rootDir: '../../..',
roots: ['<rootDir>/x-pack/examples/alerting_example'],
coverageDirectory: '<rootDir>/target/kibana-coverage/jest/x-pack/examples/alerting_example',
coverageReporters: ['text', 'html'],
collectCoverageFrom: [
'<rootDir>/x-pack/examples/alerting_example/{common,public,server}/**/*.{ts,tsx}',
],
};