kibana/x-pack/plugins/observability/README.md
Nathan L Smith 585b3f7e3d
Add Jest configuration and README to observability plugin (#70340)
Also clean up the coverage configuration in the APM jest config.
2020-06-30 14:03:05 -05:00

28 lines
513 B
Markdown

# Observability plugin
This plugin provides shared components and services for use across observability solutions, as well as the observability landing page UI.
## Unit testing
Note: Run the following commands from `kibana/x-pack/plugins/observability`.
### Run unit tests
```bash
npx jest --watch
```
### Update snapshots
```bash
npx jest --updateSnapshot
```
### Coverage
HTML coverage report can be found in target/coverage/jest after tests have run.
```bash
open target/coverage/jest/index.html
```