Skip to content

Commit be9c0ca

Browse files
committed
test: remove instance checks for abstract sockets
1 parent 600d652 commit be9c0ca

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

test/unit/socket-construction-test.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,6 @@ describe("socket construction", function () {
8686
}
8787
const sock1 = new MySocket()
8888
const sock2 = new MySocket()
89-
assert.instanceOf(sock1, zmq.Socket)
9089
assert.equal(sock1.context, sock2.context)
9190
})
9291

@@ -98,7 +97,6 @@ describe("socket construction", function () {
9897
}
9998
const context = new zmq.Context()
10099
const socket = new MySocket({context})
101-
assert.instanceOf(socket, zmq.Socket)
102100
assert.equal(socket.context, context)
103101
})
104102
})
@@ -121,7 +119,6 @@ describe("socket construction", function () {
121119
it("should create socket with given context", function () {
122120
const ctxt = new zmq.Context()
123121
const sock = new zmq.Dealer({context: ctxt})
124-
assert.instanceOf(sock, zmq.Socket)
125122
assert.equal(sock.context, ctxt)
126123
})
127124

0 commit comments

Comments
 (0)