diff --git a/x-pack/plugins/reporting/server/usage/__snapshots__/reporting_usage_collector.test.ts.snap b/x-pack/plugins/reporting/server/usage/__snapshots__/reporting_usage_collector.test.ts.snap index 2ced5483cc4c5..2017ae0be59c7 100644 --- a/x-pack/plugins/reporting/server/usage/__snapshots__/reporting_usage_collector.test.ts.snap +++ b/x-pack/plugins/reporting/server/usage/__snapshots__/reporting_usage_collector.test.ts.snap @@ -1953,7 +1953,6 @@ Object { "preserve_layout": 0, "print": 0, }, - "sizes": undefined, "total": 0, }, "PNGV2": Object { @@ -1970,7 +1969,6 @@ Object { "preserve_layout": 0, "print": 0, }, - "sizes": undefined, "total": 0, }, "_all": 9, @@ -2024,7 +2022,6 @@ Object { "preserve_layout": 0, "print": 0, }, - "sizes": undefined, "total": 0, }, "enabled": true, @@ -2043,7 +2040,6 @@ Object { "preserve_layout": 0, "print": 0, }, - "sizes": undefined, "total": 0, }, "PNGV2": Object { @@ -2060,7 +2056,6 @@ Object { "preserve_layout": 0, "print": 0, }, - "sizes": undefined, "total": 0, }, "_all": 9, @@ -2112,7 +2107,6 @@ Object { "preserve_layout": 0, "print": 0, }, - "sizes": undefined, "total": 0, }, "output_size": undefined, @@ -2130,7 +2124,6 @@ Object { "preserve_layout": 0, "print": 0, }, - "sizes": undefined, "total": 0, }, "printable_pdf_v2": Object { @@ -2147,7 +2140,6 @@ Object { "preserve_layout": 0, "print": 0, }, - "sizes": undefined, "total": 0, }, "status": Object { @@ -2180,7 +2172,6 @@ Object { "preserve_layout": 0, "print": 0, }, - "sizes": undefined, "total": 0, }, "printable_pdf_v2": Object { @@ -2197,7 +2188,6 @@ Object { "preserve_layout": 0, "print": 0, }, - "sizes": undefined, "total": 0, }, "status": Object { @@ -2233,7 +2223,6 @@ Object { "preserve_layout": 0, "print": 0, }, - "sizes": undefined, "total": 0, }, "PNGV2": Object { @@ -2250,7 +2239,6 @@ Object { "preserve_layout": 0, "print": 0, }, - "sizes": undefined, "total": 0, }, "_all": 0, @@ -2270,7 +2258,6 @@ Object { "preserve_layout": 0, "print": 0, }, - "sizes": undefined, "total": 0, }, "csv_searchsource": Object { @@ -2287,7 +2274,6 @@ Object { "preserve_layout": 0, "print": 0, }, - "sizes": undefined, "total": 0, }, "csv_searchsource_immediate": Object { @@ -2304,7 +2290,6 @@ Object { "preserve_layout": 0, "print": 0, }, - "sizes": undefined, "total": 0, }, "enabled": true, @@ -2323,7 +2308,6 @@ Object { "preserve_layout": 0, "print": 0, }, - "sizes": undefined, "total": 0, }, "PNGV2": Object { @@ -2340,7 +2324,6 @@ Object { "preserve_layout": 0, "print": 0, }, - "sizes": undefined, "total": 0, }, "_all": 0, @@ -2358,7 +2341,6 @@ Object { "preserve_layout": 0, "print": 0, }, - "sizes": undefined, "total": 0, }, "csv_searchsource": Object { @@ -2375,7 +2357,6 @@ Object { "preserve_layout": 0, "print": 0, }, - "sizes": undefined, "total": 0, }, "csv_searchsource_immediate": Object { @@ -2392,7 +2373,6 @@ Object { "preserve_layout": 0, "print": 0, }, - "sizes": undefined, "total": 0, }, "output_size": undefined, @@ -2410,7 +2390,6 @@ Object { "preserve_layout": 0, "print": 0, }, - "sizes": undefined, "total": 0, }, "printable_pdf_v2": Object { @@ -2427,7 +2406,6 @@ Object { "preserve_layout": 0, "print": 0, }, - "sizes": undefined, "total": 0, }, "status": Object { @@ -2451,7 +2429,6 @@ Object { "preserve_layout": 0, "print": 0, }, - "sizes": undefined, "total": 0, }, "printable_pdf_v2": Object { @@ -2468,7 +2445,6 @@ Object { "preserve_layout": 0, "print": 0, }, - "sizes": undefined, "total": 0, }, "status": Object { @@ -2512,7 +2488,6 @@ Object { "preserve_layout": 0, "print": 0, }, - "sizes": undefined, "total": 0, }, "_all": 4, @@ -2549,7 +2524,6 @@ Object { "preserve_layout": 0, "print": 0, }, - "sizes": undefined, "total": 0, }, "csv_searchsource_immediate": Object { @@ -2566,7 +2540,6 @@ Object { "preserve_layout": 0, "print": 0, }, - "sizes": undefined, "total": 0, }, "enabled": true, @@ -2602,7 +2575,6 @@ Object { "preserve_layout": 0, "print": 0, }, - "sizes": undefined, "total": 0, }, "_all": 4, @@ -2637,7 +2609,6 @@ Object { "preserve_layout": 0, "print": 0, }, - "sizes": undefined, "total": 0, }, "csv_searchsource_immediate": Object { @@ -2654,7 +2625,6 @@ Object { "preserve_layout": 0, "print": 0, }, - "sizes": undefined, "total": 0, }, "output_size": undefined, @@ -2689,7 +2659,6 @@ Object { "preserve_layout": 0, "print": 0, }, - "sizes": undefined, "total": 0, }, "status": Object { @@ -2741,7 +2710,6 @@ Object { "preserve_layout": 0, "print": 0, }, - "sizes": undefined, "total": 0, }, "status": Object { @@ -2796,7 +2764,6 @@ Object { "preserve_layout": 0, "print": 0, }, - "sizes": undefined, "total": 0, }, "_all": 11, @@ -2850,7 +2817,6 @@ Object { "preserve_layout": 0, "print": 0, }, - "sizes": undefined, "total": 0, }, "enabled": true, @@ -2869,7 +2835,6 @@ Object { "preserve_layout": 0, "print": 0, }, - "sizes": undefined, "total": 0, }, "PNGV2": Object { @@ -2886,7 +2851,6 @@ Object { "preserve_layout": 0, "print": 0, }, - "sizes": undefined, "total": 0, }, "_all": 0, @@ -2904,7 +2868,6 @@ Object { "preserve_layout": 0, "print": 0, }, - "sizes": undefined, "total": 0, }, "csv_searchsource": Object { @@ -2921,7 +2884,6 @@ Object { "preserve_layout": 0, "print": 0, }, - "sizes": undefined, "total": 0, }, "csv_searchsource_immediate": Object { @@ -2938,7 +2900,6 @@ Object { "preserve_layout": 0, "print": 0, }, - "sizes": undefined, "total": 0, }, "output_size": undefined, @@ -2956,7 +2917,6 @@ Object { "preserve_layout": 0, "print": 0, }, - "sizes": undefined, "total": 0, }, "printable_pdf_v2": Object { @@ -2973,7 +2933,6 @@ Object { "preserve_layout": 0, "print": 0, }, - "sizes": undefined, "total": 0, }, "status": Object { @@ -3014,7 +2973,6 @@ Object { "preserve_layout": 0, "print": 0, }, - "sizes": undefined, "total": 0, }, "status": Object { diff --git a/x-pack/plugins/reporting/server/usage/get_export_stats.test.ts b/x-pack/plugins/reporting/server/usage/get_export_stats.test.ts index 91d88cb18a447..f74e176e6f21d 100644 --- a/x-pack/plugins/reporting/server/usage/get_export_stats.test.ts +++ b/x-pack/plugins/reporting/server/usage/get_export_stats.test.ts @@ -136,7 +136,6 @@ test('Model of jobTypes', () => { "preserve_layout": 0, "print": 0, }, - "sizes": undefined, "total": 0, } `);