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)