From d9954461973d59775ede989fd9bcab628cdd68d1 Mon Sep 17 00:00:00 2001 From: Dustin Hoffner Date: Wed, 11 Sep 2024 22:13:58 +0200 Subject: [PATCH] Adjust null value test to be an actual message object --- packages/typescript-client/test/parser.test.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/typescript-client/test/parser.test.ts b/packages/typescript-client/test/parser.test.ts index 6ac38210e1..1359364c77 100644 --- a/packages/typescript-client/test/parser.test.ts +++ b/packages/typescript-client/test/parser.test.ts @@ -214,11 +214,11 @@ describe(`Message parser`, () => { it(`should parse null value on column named value`, () => { const schema = { - a: { type: `text`, dims: 1 }, + value: { type: `text`, dims: 1 }, } - expect(parser.parse(`[ { "value": null } ]`, schema)).toEqual([ - { value: null }, + expect(parser.parse(`[ { "value": {"value": null} } ]`, schema)).toEqual([ + { value: { value: null } }, ]) }) })