Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Fix adding twice a torrent in webtorrent

Chocobozzzbc59d9e056fb
diff --git a/server/tests/api/multiplePods.js b/server/tests/api/multiplePods.js
index 486457347a..51e7fb3d19 100644
--- a/server/tests/api/multiplePods.js
+++ b/server/tests/api/multiplePods.js
@@ -316,7 +316,7 @@ describe('Test multiple pods', function () {
expect(torrent.files.length).to.equal(1)
expect(torrent.files[0].path).to.exist.and.to.not.equal('')
- done()
+ webtorrent.remove(video.magnetUri, done)
})
})
})