Skip to content

Commit 86346b7

Browse files
committed
Changes from node scripts/eslint_all_files --no-cache --fix
1 parent 930d644 commit 86346b7

1 file changed

Lines changed: 18 additions & 6 deletions

File tree

src/platform/packages/shared/kbn-change-point-chart-viewer/src/utils/derive_change_point_cards.test.ts

Lines changed: 18 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -155,8 +155,20 @@ describe('derive_change_point_cards', () => {
155155
{ id: 'pvalue', name: 'pvalue', meta: { type: 'number' as const } },
156156
],
157157
rows: [
158-
{ host: 'a', bucket: '2023-11-15T00:00:00.000Z', avg_bytes: 14, type: null, pvalue: null },
159-
{ host: 'b', bucket: '2023-11-16T00:00:00.000Z', avg_bytes: 20, type: null, pvalue: null },
158+
{
159+
host: 'a',
160+
bucket: '2023-11-15T00:00:00.000Z',
161+
avg_bytes: 14,
162+
type: null,
163+
pvalue: null,
164+
},
165+
{
166+
host: 'b',
167+
bucket: '2023-11-16T00:00:00.000Z',
168+
avg_bytes: 20,
169+
type: null,
170+
pvalue: null,
171+
},
160172
],
161173
};
162174
expect(buildChangePointCards({ table, esql: esqlWithHost })).toBeUndefined();
@@ -171,7 +183,9 @@ describe('derive_change_point_cards', () => {
171183
{ id: 'type', name: 'type', meta: { type: 'string' as const } },
172184
{ id: 'pvalue', name: 'pvalue', meta: { type: 'number' as const } },
173185
],
174-
rows: [{ bucket: '2023-11-15T00:00:00.000Z', avg_bytes: 14, type: 'mean_shift', pvalue: null }],
186+
rows: [
187+
{ bucket: '2023-11-15T00:00:00.000Z', avg_bytes: 14, type: 'mean_shift', pvalue: null },
188+
],
175189
};
176190
expect(buildChangePointCards({ table, esql })).toBeUndefined();
177191
});
@@ -187,9 +201,7 @@ describe('derive_change_point_cards', () => {
187201
{ id: 'type', name: 'type', meta: { type: 'string' as const } },
188202
{ id: 'pvalue', name: 'pvalue', meta: { type: 'number' as const } },
189203
],
190-
rows: [
191-
{ bucket: null, avg_bytes: 14, type: 'mean_shift', pvalue: 0.001 },
192-
],
204+
rows: [{ bucket: null, avg_bytes: 14, type: 'mean_shift', pvalue: 0.001 }],
193205
};
194206

195207
const cards = buildChangePointCards({ table, esql });

0 commit comments

Comments
 (0)