build: fixed heatmap test

This commit is contained in:
Torkel Ödegaard
2017-05-11 08:52:22 +02:00
parent b2c14b858e
commit 30b6c3b54a

View File

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