Ver Fonte

build: fixed heatmap test

Torkel Ödegaard há 8 anos atrás
pai
commit
30b6c3b54a

+ 6 - 6
public/app/plugins/panel/heatmap/specs/heatmap_data_converter_specs.ts

@@ -223,17 +223,17 @@ describe('ES Histogram converter', () => {
         '1422774000000': {
         '1422774000000': {
           x: 1422774000000,
           x: 1422774000000,
           buckets: {
           buckets: {
-            '1': { y: 1, count: 1 },
-            '2': { y: 2, count: 5 },
-            '3': { y: 3, count: 0 }
+            '1': { y: 1, count: 1, values: [], points: [] },
+            '2': { y: 2, count: 5, values: [], points: [] },
+            '3': { y: 3, count: 0, values: [], points: [] }
           }
           }
         },
         },
         '1422774060000': {
         '1422774060000': {
           x: 1422774060000,
           x: 1422774060000,
           buckets: {
           buckets: {
-            '1': { y: 1, count: 0 },
-            '2': { y: 2, count: 3 },
-            '3': { y: 3, count: 1 }
+            '1': { y: 1, count: 0, values: [], points: [] },
+            '2': { y: 2, count: 3, values: [], points: [] },
+            '3': { y: 3, count: 1, values: [], points: [] }
           }
           }
         },
         },
       };
       };