Skip to content

Commit 52aacc1

Browse files
committed
Merge pull request webtorrent#156 from yciabaud/scrape-test
Restore scrape test for websocket tracker now it is is supported
2 parents d35d3d9 + 54782bc commit 52aacc1

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

test/client.js

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -192,10 +192,9 @@ test('udp: client.scrape()', function (t) {
192192
testClientScrape(t, 'udp')
193193
})
194194

195-
// TODO: uncomment once scrape is supported on WebSocket trackers
196-
// test('ws: client.scrape()', function (t) {
197-
// testClientScrape(t, 'ws')
198-
// })
195+
test('ws: client.scrape()', function (t) {
196+
testClientScrape(t, 'ws')
197+
})
199198

200199
function testClientAnnounceWithParams (t, serverType) {
201200
t.plan(5)

0 commit comments

Comments
 (0)