fix tests

This commit is contained in:
Alexander Zobnin
2019-10-09 15:41:02 +03:00
parent 1827aa942a
commit 1d13520358
3 changed files with 22 additions and 22 deletions

View File

@@ -147,7 +147,7 @@ export function groupByRange(datapoints, groupByCallback) {
frame_values.push(point[POINT_VALUE]);
}
const frame_value = groupByCallback(frame_values);
return [ [frame_value, frame_start], [frame_value, frame_end] ];
return [[frame_value, frame_start], [frame_value, frame_end]];
}
/**