Skip to content
This repository was archived by the owner on Dec 21, 2021. It is now read-only.

Commit c493005

Browse files
author
Eric Andrews
committed
Fix indentation
1 parent 6b69cea commit c493005

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

test/test.streamr-client.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1408,8 +1408,9 @@ describe('StreamrClient', function() {
14081408
var sub1 = client.subscribe("stream1", function(message) {})
14091409
var sub2 = client.subscribe("stream2", function(message) {})
14101410
var check = function(response) {
1411-
if (++subscribeCount === 2)
1411+
if (++subscribeCount === 2) {
14121412
done()
1413+
}
14131414
}
14141415
sub1.on('subscribed', check)
14151416
sub2.on('subscribed', check)
@@ -1420,8 +1421,9 @@ describe('StreamrClient', function() {
14201421
it('should trigger an unsubscribed event on unsubscribed', function(done) {
14211422
var count = 0
14221423
var check = function(response) {
1423-
if (++count===2)
1424+
if (++count===2) {
14241425
done()
1426+
}
14251427
}
14261428

14271429
var sub1 = client.subscribe("stream1", function(message) {})

0 commit comments

Comments
 (0)