parent
8ea66e7df9
commit
c82d633d8d
1 changed files with 37 additions and 27 deletions
|
|
@ -122,6 +122,8 @@ test("should reject unsupported protocol version", async () => {
|
|||
await expect(client.connect(clientTransport)).rejects.toThrow(
|
||||
"Server's protocol version is not supported: invalid-version",
|
||||
);
|
||||
|
||||
expect(clientTransport.close).toHaveBeenCalled();
|
||||
});
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Reference in a new issue