diff --git a/web/ui/react-app/src/pages/graph/DataTable.test.tsx b/web/ui/react-app/src/pages/graph/DataTable.test.tsx index ab730fd4a..d6974cf90 100755 --- a/web/ui/react-app/src/pages/graph/DataTable.test.tsx +++ b/web/ui/react-app/src/pages/graph/DataTable.test.tsx @@ -91,14 +91,14 @@ describe('DataTable', () => { histogram: [ 1572098246.599, { - "count": "10", - "sum": "3.3", - "buckets": [ - [ 1, "-1", "-0.5", "2"], - [ 3, "-0.5", "0.5", "3"], - [ 0, "0.5", "1", "5"], - ] - } + count: '10', + sum: '3.3', + buckets: [ + [1, '-1', '-0.5', '2'], + [3, '-0.5', '0.5', '3'], + [0, '0.5', '1', '5'], + ], + }, ], }, { @@ -110,13 +110,13 @@ describe('DataTable', () => { histogram: [ 1572098247.599, { - "count": "5", - "sum": "1.11", - "buckets": [ - [ 0, "0.5", "1", "2"], - [ 0, "1", "2", "3"], - ] - } + count: '5', + sum: '1.11', + buckets: [ + [0, '0.5', '1', '2'], + [0, '1', '2', '3'], + ], + }, ], }, { @@ -125,7 +125,6 @@ describe('DataTable', () => { label1: 'value_1', labeln: 'value_n', }, - }, ], }, diff --git a/web/ui/react-app/src/types/types.ts b/web/ui/react-app/src/types/types.ts index e87f247e7..1267cd187 100644 --- a/web/ui/react-app/src/types/types.ts +++ b/web/ui/react-app/src/types/types.ts @@ -5,9 +5,9 @@ export interface Metric { } export interface Histogram { - count: string; - sum: string; - buckets: [number, string, string, string][]; + count: string; + sum: string; + buckets: [number, string, string, string][]; } export interface Exemplar {