From 553cdd5b75736c75b0bc62acf149d30c0ac0ad98 Mon Sep 17 00:00:00 2001 From: Faris Masad Date: Thu, 30 May 2024 17:56:28 +0000 Subject: [PATCH] fix using old write method --- __tests__/fixtures/services.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/__tests__/fixtures/services.ts b/__tests__/fixtures/services.ts index 33c2cf66..27ff7b67 100644 --- a/__tests__/fixtures/services.ts +++ b/__tests__/fixtures/services.ts @@ -39,7 +39,7 @@ const testServiceProcedures = TestServiceScaffold.procedures({ output: Type.Array(Type.Number()), async handler(_, msgStream, returnStream) { for await (const msg of msgStream) { - returnStream.push(Ok([msg.n])); + returnStream.write(Ok([msg.n])); } }, }),