Skip to content

Commit a3b14d0

Browse files
committed
fix(eventstream-handler-node): add return while calling await in test
1 parent b77b970 commit a3b14d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/eventstream-handler-node/src/EventStreamPayloadHandler.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ describe("EventStreamPayloadHandler", () => {
6262
});
6363

6464
mockRequest.body.write("This should be allowed to write.");
65-
await once(mockRequest.body, "error");
65+
return await once(mockRequest.body, "error");
6666
});
6767

6868
it("should call event signer with request signature from signing middleware", async () => {

0 commit comments

Comments
 (0)