mirror of
https://github.com/webtorrent/bittorrent-tracker.git
synced 2024-12-13 19:06:27 +00:00
fix test for setInterval() change
This commit is contained in:
parent
b4ec6fcbc4
commit
959ddbd5f3
@ -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!
|
||||
|
Loading…
Reference in New Issue
Block a user