/fargate/2aa628f1/test/__tests__/receivingMessages.test.ts
3.333s
| should fire the message event | passed in 0.08s |
| should emit a packetreceive event | passed in 0.006s |
| should support binary data | passed in 0.004s |
| should emit a message event (qos=1) - repeated publish | passed in 0.004s |
| should support chinese topic | passed in 0.003s |
/fargate/2aa628f1/test/__tests__/subscribing.test.ts
4.164s
| should send a subscribe message (offline) | passed in 0.095s |
| should send a subscribe message | passed in 0.021s |
| should emit a packetsend event | passed in 0.013s |
| should emit a packetreceive event | passed in 0.003s |
| should accept an array of subscriptions | passed in 0.014s |
| should accept an hash of subscriptions | passed in 0.015s |
| should accept an options parameter | passed in 0.015s |
| should subscribe with the default options for an empty options parameter | passed in 0.015s |
| should fire a callback on suback | passed in 0.674s |
| should fire a callback with error if disconnected (options provided) | passed in 0.004s |
| should fire a callback with error if disconnected (options not provided) | passed in 0.003s |
| should subscribe with a chinese topic | passed in 0.014s |
/fargate/2aa628f1/test/__tests__/closing.test.ts
1.239s
| should emit close if stream closes | passed in 0.018s |
| should mark the client as disconnected | passed in 0.005s |
| should stop ping timer if stream closes | passed in 0.003s |
| should emit close after end called | passed in 0.002s |
| should emit end after end called and client must be disconnected | passed in 0.003s |
| should pass store close error to end callback but not to end listeners | - | passed in 0.004s |
| should return `this` if end called twice | passed in 0.004s |
| should emit end only on first client end | passed in 0.204s |
| should stop ping timer after end called | passed in 0.011s |
| should be able to end even on a failed connection | passed in 0.202s |
| should emit end even on a failed connection | passed in 0.202s |
| should emit end only once for a reconnecting client | passed in 0.304s |
/fargate/2aa628f1/test/__tests__/connecting.test.ts
0.306s
| should connect to the broker | passed in 0.017s |
| should send a default client id | passed in 0.006s |
| should send be clean by default | passed in 0.003s |
| should connect with the given client id | passed in 0.003s |
| should connect with the client id and unclean state | passed in 0.002s |
| should require a clientId with clean=false | passed in 0.002s |
| should default to localhost | passed in 0.004s |
| should emit connect | passed in 0.002s |
| should mark the client as connected | passed in 0.002s |
| should have different client ids | passed in 0.002s |
/fargate/2aa628f1/test/__tests__/topicValidation.test.ts
0.26s
| should be ok for well-formated topics | passed in 0.021s |
| should return an error (via callbacks) for topic #/event | passed in 0.002s |
| should return an empty array for duplicate subs | passed in 0.004s |
| should return an error (via callbacks) for topic #/event | passed in 0.002s |
| should return an error (via callbacks) for topic event# | passed in 0.001s |
| should return an error (via callbacks) for topic system/#/event | passed in 0.003s |
| should return an error (via callbacks) for empty topic list | passed in 0.002s |
| should return an error (via callbacks) for topic system/+/#/event | passed in 0.001s |
/fargate/2aa628f1/test/__tests__/pinging.test.ts
0.519s
| should set a ping timer | passed in 0.018s |
| should not set a ping timer keepalive=0 | passed in 0.003s |
| should defer the next ping when sending a control packet | passed in 0.23s |
/fargate/2aa628f1/test/__tests__/unsubscribing.test.ts
0.3s
| should send an unsubscribe packet (offline) | passed in 0.029s |
| should send an unsubscribe packet | passed in 0.014s |
| should emit a packetsend event | passed in 0.013s |
| should emit a packetreceive event | passed in 0.003s |
| should accept an array of unsubs | passed in 0.013s |
| should fire a callback on unsuback | passed in 0.002s |
| should unsubscribe from a chinese topic | passed in 0.013s |
/fargate/2aa628f1/test/__tests__/publishing.test.ts
6.726s
| should publish a message (offline) | passed in 0.066s |
| should publish a message (online) | passed in 0.009s |
| should publish a message (retain, offline) | passed in 0.006s |
| should emit a packetsend event | passed in 0.005s |
| should accept options | passed in 0.014s |
| should publish with the default options for an empty parameter | passed in 0.007s |
| should mark a message as duplicate when "dup" option is set | passed in 0.015s |
| should fire a callback (qos 0) | passed in 0.003s |
| should fire a callback (qos 1) | passed in 0.003s |
| should support UTF-8 characters in topic | passed in 0.003s |
| should support UTF-8 characters in payload | passed in 0.003s |
| should publish 5 QoS 2 and receive them | passed in 3.346s |
| should not call cbStorePut when publishing message with QoS 0 and clean true | passed in 0.005s |
| should not call cbStorePut when publishing message with QoS 0 and clean false | passed in 0.003s |
| should call cbStorePut before publish completes when publishing message with QoS 1 and clean true | passed in 0.003s |
| should call cbStorePut before publish completes when publishing message with QoS 1 and clean false | passed in 0.003s |
/fargate/2aa628f1/test/__tests__/offlineMessages.test.ts
2.797s
| should queue message until connected | passed in 0.033s |
| should not queue qos 0 messages if queueQoSZero is false | passed in 0.004s |
| should not queue qos != 0 messages | passed in 0.002s |
| should not interrupt messages | - | passed in 2.461s |
| should call cb if an outgoing QoS 0 message is not sent | passed in 0.003s |
| should delay ending up until all inflight messages are delivered | passed in 0.014s |
| wait QoS 1 publish messages | passed in 0.005s |
| does not wait acks when force-closing | passed in 0.003s |
| should call cb if store.put fails | - | passed in 0.002s |