diff --git a/packages/scenes/src/variables/interpolation/formatRegistry.test.ts b/packages/scenes/src/variables/interpolation/formatRegistry.test.ts index 658d51d6b..25f90107b 100644 --- a/packages/scenes/src/variables/interpolation/formatRegistry.test.ts +++ b/packages/scenes/src/variables/interpolation/formatRegistry.test.ts @@ -27,6 +27,10 @@ describe('formatRegistry', () => { expect(formatValue(VariableFormatID.Glob, ['AA', 'BB', 'C.*'])).toBe('{AA,BB,C.*}'); expect(formatValue(VariableFormatID.Text, 'v', 'display text')).toBe('display text'); + expect(formatValue(VariableFormatID.Text, ['test', 'test2'])).toBe('test + test2'); + + expect(formatValue(VariableFormatID.TextUpper, 'test')).toBe('TEST'); + expect(formatValue(VariableFormatID.TextUpper, ['test', 'test2'])).toBe('TEST + TEST2'); expect(formatValue(VariableFormatID.Raw, [12, 13])).toBe('12,13'); expect(formatValue(VariableFormatID.Raw, '#Ƴ ̇¹"Ä1"#!"#!½')).toBe('#Ƴ ̇¹"Ä1"#!"#!½');