fix test for setInterval() change

This commit is contained in:
Feross Aboukhadijeh 2015-12-05 00:06:23 -08:00
parent b4ec6fcbc4
commit 959ddbd5f3

View File

@ -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!