From 8423b591e4daf804f139c4b5e9cd0cd15c46cad8 Mon Sep 17 00:00:00 2001 From: Francesco Ceccon Date: Thu, 11 Jan 2024 11:31:36 +0100 Subject: [PATCH] protocol: update tests --- packages/protocol/src/request.test.ts | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/packages/protocol/src/request.test.ts b/packages/protocol/src/request.test.ts index fe3c013..155e453 100644 --- a/packages/protocol/src/request.test.ts +++ b/packages/protocol/src/request.test.ts @@ -4,10 +4,9 @@ import { StreamDataRequest } from "./request"; describe("RequestBuilder", () => { it("returns the final request", () => { - const filter = new TestFilter({ - num: 123, - text: "abcdef", - }); + const filter = new TestFilter(); + filter.num = 123; + filter.text = "abcdef"; const request = StreamDataRequest.create() .withBatchSize(10)