diff --git a/lib/client-api/src/args.test.ts b/lib/client-api/src/args.test.ts index 7663a5103b59..b26d877943b2 100644 --- a/lib/client-api/src/args.test.ts +++ b/lib/client-api/src/args.test.ts @@ -87,16 +87,12 @@ describe('mapArgsToTypes', () => { }); }); - it('passes raw string for object type', () => { - expect(mapArgsToTypes({ a: 'string' }, { a: { type: boolObjectType } })).toStrictEqual({ - a: 'string', - }); + it('passes string for object type', () => { + expect(mapArgsToTypes({ a: 'A' }, { a: { type: boolObjectType } })).toStrictEqual({ a: 'A' }); }); - it('parses number for object type', () => { - expect(mapArgsToTypes({ a: '1.2' }, { a: { type: boolObjectType } })).toStrictEqual({ - a: 1.2, - }); + it('passes number for object type', () => { + expect(mapArgsToTypes({ a: 1.2 }, { a: { type: boolObjectType } })).toStrictEqual({ a: 1.2 }); }); it('deeply maps objects', () => {