mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 17:59:23 -04:00
[Data telemetry] Add Async Search to the tests (#96693)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
This commit is contained in:
parent
8c8fcf16c4
commit
f4f49bc32e
1 changed files with 9 additions and 0 deletions
|
@ -46,6 +46,15 @@ describe('get_data_telemetry', () => {
|
|||
).toStrictEqual([]);
|
||||
});
|
||||
|
||||
test('should not include Async Search indices', () => {
|
||||
expect(
|
||||
buildDataTelemetryPayload([
|
||||
{ name: '.async_search', docCount: 0 },
|
||||
{ name: '.async-search', docCount: 0 },
|
||||
])
|
||||
).toStrictEqual([]);
|
||||
});
|
||||
|
||||
test('matches some indices and puts them in their own category', () => {
|
||||
expect(
|
||||
buildDataTelemetryPayload([
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue