We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e3cc749 commit 05c2614Copy full SHA for 05c2614
test/websockets.js
@@ -44,6 +44,15 @@ describe('Solid-ws', function() {
44
client.close()
45
done()
46
})
47
+ it('should receive ack in the form `ack $uri`', function(done) {
48
+
49
+ var uri = 'http://example.com/myresource'
50
+ client.send('sub ' + uri)
51
+ client.on('message', function (msg) {
52
+ assert.equal(msg, 'ack ' + uri)
53
+ done()
54
+ })
55
56
it('should receive ack for any resource given', function(done) {
57
58
var uris = [
0 commit comments