mirror of
https://github.com/webtorrent/bittorrent-tracker.git
synced 2025-01-18 12:11:36 +00:00
Fix webtorrent version parsing
This commit is contained in:
parent
cf0b22b04f
commit
a59a3069b5
@ -145,7 +145,7 @@ test('server: get leecher stats.json', function (t) {
|
||||
t.equal(stats.peersSeederOnly, 0)
|
||||
t.equal(stats.peersLeecherOnly, 1)
|
||||
t.equal(stats.peersSeederAndLeecher, 0)
|
||||
t.equal(stats.clients['WebTorrent']['0.0.9.1'], 1)
|
||||
t.equal(stats.clients['WebTorrent']['0.91'], 1)
|
||||
|
||||
client.destroy(function () { t.pass('client destroyed') })
|
||||
server.close(function () { t.pass('server closed') })
|
||||
|
Loading…
Reference in New Issue
Block a user