mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-02-25 18:55:32 -06:00
Fix tracker test
This commit is contained in:
@@ -107,6 +107,7 @@ describe('Test tracker', function () {
|
||||
torrent.on('error', done)
|
||||
torrent.on('warning', warn => {
|
||||
const message = typeof warn === 'string' ? warn : warn.message
|
||||
if (message.includes('Unsupported tracker protocol')) return done()
|
||||
if (message.includes('Error connecting')) return done()
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user