Skip to content

Commit ec4c4b4

Browse files
committed
✅ Fix test
1 parent 09445fc commit ec4c4b4

1 file changed

Lines changed: 14 additions & 10 deletions

File tree

x-pack/plugins/lens/common/expressions/format_column/format_column.test.ts

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -366,19 +366,23 @@ describe('format_column', () => {
366366
suffix: ' on Earth',
367367
});
368368
expect(result.columns[0].meta).toEqual({
369-
id: 'suffix',
369+
type: 'number',
370370
params: {
371-
suffixString: ' on Earth',
372-
id: 'duration',
371+
id: 'suffix',
373372
params: {
374-
pattern: '',
373+
suffixString: ' on Earth',
374+
id: 'duration',
375375
formatOverride: true,
376-
inputFormat: 'seconds',
377-
outputFormat: 'asHours',
378-
outputPrecision: 2,
379-
useShortSuffix: true,
380-
showSuffix: true,
381-
includeSpaceWithSuffix: true,
376+
params: {
377+
pattern: '',
378+
formatOverride: true,
379+
inputFormat: 'seconds',
380+
outputFormat: 'asHours',
381+
outputPrecision: 2,
382+
useShortSuffix: true,
383+
showSuffix: true,
384+
includeSpaceWithSuffix: true,
385+
},
382386
},
383387
},
384388
});

0 commit comments

Comments
 (0)