Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Added argtype tests for pubsub and emitter

Appropriated the preexisting `test.arg-types.js` test for PubSub and
Emitter sockets, extending it to also assert the type of `this` within
the message handlers.

Also fixed `sub-emitter.js` as per feedback in
#146 (comment)
latest commit df491d51e1
@lfk lfk authored
..
Failed to load latest commit information.
run remove test. prefix from test output
test.arg-types.js refactor to use the AMP protocol. Closes #577
test.bind-event.js fix "bind" event. Closes #53
test.bind.ephemeral.js add Socket#address() to help with ephemeral port binding. Closes #39
test.emitter.arg-types.js Added argtype tests for pubsub and emitter
test.emitter.js refactor to use the AMP protocol. Closes #577
test.emitter.many-connect.js [fix test] s/include/containEql for array inclusion api change in should
test.emitter.many.js [fix test] s/include/containEql for array inclusion api change in should
test.emitter.off.js refactor to use the AMP protocol. Closes #577
test.emitter.wildcards.js Simple unsubscribe from event implementation.
test.hwm.js refactor to use the AMP protocol. Closes #577
test.pubsub.arg-types.js Added argtype tests for pubsub and emitter
test.pubsub.js refactor to use the AMP protocol. Closes #577
test.pubsub.missed-messages.js change test ports
test.pubsub.multiple-subscribers.js change test ports
test.pubsub.string-subscriptions.js Simple unsubscribe from event implementation.
test.pubsub.subscriptions.js Simple unsubscribe from event implementation.
test.pubsub.unsubscribe.js Simple unsubscribe from event implementation.
test.pushpull.js refactor to use the AMP protocol. Closes #577
test.pushpull.json.js refactor to use the AMP protocol. Closes #577
test.pushpull.multiple-pushers.js change test ports
test.pushpull.pull-bind.js refactor to use the AMP protocol. Closes #577
test.queue.js refactor to use the AMP protocol. Closes #577
test.reqrep.callback.js add optional reply() callback. Closes #95
test.reqrep.chain.js change test ports
test.reqrep.error-reply.js change test ports
test.reqrep.js change test ports
test.reqrep.json.js refactor to use the AMP protocol. Closes #577
test.reqrep.ordering.js [fix test] s/include/containEql for array inclusion api change in should
test.reqrep.undefined.js refactor to use the AMP protocol. Closes #577
test.reqrep.vargs.js change test ports
test.socket.accept.econnrefused.js change test ports
test.socket.accept.econnreset.js change test ports
test.socket.accept.epipe.js change test ports
test.socket.close.js change test ports
test.socket.connect.econnrefused.js change test ports
test.socket.connect.econnreset.js change test ports
test.socket.connect.epipe.js change test ports
test.socket.connect.error.js change test ports
test.socket.error-remove-sock.js change test ports, dont use 3xxx range
test.socket.js remove "stream" socket type for now
test.socket.rebind.js change test ports
test.socket.reconnect.js Better debug and minor fix
test.sub.matches.js add emitter wildcard and subcription support
test.unixsocket.js add unix domain socket support
Something went wrong with that request. Please try again.