From 959ddbd5f3b603b5c332c649af8ad461dafb424b Mon Sep 17 00:00:00 2001 From: Feross Aboukhadijeh Date: Sat, 5 Dec 2015 00:06:23 -0800 Subject: [PATCH] fix test for setInterval() change --- test/client.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/client.js b/test/client.js index c1653fe..6a1dbf5 100644 --- a/test/client.js +++ b/test/client.js @@ -112,6 +112,8 @@ function testClientUpdate (t, serverType) { client.start() client.once('update', function () { + client.setInterval(2000) + // after interval (2s), we should get another update client.once('update', function (data) { // received an update!