Skip to content

Commit 959ddbd

Browse files
committed
fix test for setInterval() change
1 parent b4ec6fc commit 959ddbd

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/client.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,8 @@ function testClientUpdate (t, serverType) {
112112
client.start()
113113

114114
client.once('update', function () {
115+
client.setInterval(2000)
116+
115117
// after interval (2s), we should get another update
116118
client.once('update', function (data) {
117119
// received an update!

0 commit comments

Comments
 (0)