kibana/x-pack/plugins/ml
Walter Rafelsberger 76408be650
[ML] Anomaly Explorer Charts jest tests. (#22759)
After the migration to React in #22622, this PR adds more test coverage based on jest to the Anomaly Explorer charts. This is done as preparation for some further refactoring (#22626) and the integration of the support for charts for the rare detector (#21163). The tests use mock data based on a standard multi-metric job using the farequote dataset.
Besided the tests this PR includes the following changes:
- In explore_series.js the path is no longer a concatenanted string but now using a template literal
- The exploreSeries() function is no longer calling window.open by itself, it just returns the link
because of the above, renamed exploreSeries() to getExploreSeriesLink() and moved it to chart_utils.js
- explorer_charts_container_service.js is no longer requiring jQuery itself, it now receiving the required element as a factory argument. Further work on this is planned to get rid of jQuery.
2018-09-07 10:03:28 +02:00
..
common [ML] Support for the rare detector for charts in anomaly explorer and singe metric viewer (#21524) 2018-08-01 16:38:50 +02:00
public [ML] Anomaly Explorer Charts jest tests. (#22759) 2018-09-07 10:03:28 +02:00
server [ML] Fixing issue with incorrect timezones in jobs list (#22714) 2018-09-05 17:16:13 +01:00
index.js [ML] Add endpoints and service for ML filters (#20406) 2018-07-04 13:00:16 +01:00
jsconfig.json [ML] Adding jsconfig file for better code navigation in vscode (#19203) 2018-05-18 12:52:18 +01:00