File tree Expand file tree Collapse file tree
x-pack/plugins/lens/common/expressions/format_column Expand file tree Collapse file tree Original file line number Diff line number Diff 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 } ) ;
You can’t perform that action at this time.
0 commit comments