Skip to content

Commit

Permalink
fix test (2)
Browse files Browse the repository at this point in the history
  • Loading branch information
darrachequesne committed Jun 21, 2024
1 parent 5a0c6f2 commit 8339b7e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/userver.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ export class uServer extends BaseServer {
const transport = ws.getUserData().transport;
transport.socket = ws;
transport.writable = true;
transport.emit("drain");
transport.emit("ready");
},
message: (ws, message, isBinary) => {
ws.getUserData().transport.onData(
Expand Down
2 changes: 1 addition & 1 deletion test/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -2708,7 +2708,7 @@ describe("server", () => {
});

const partialDone = createPartialDone(() => {
engine.httpServer.close();
engine.httpServer?.close();
socket.close();
done();
}, 2);
Expand Down

0 comments on commit 8339b7e

Please # to comment.