mirror of https://github.com/Chocobozzz/PeerTube
Fix tracker test
parent
417ddb3404
commit
5276f236f0
|
@ -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()
|
||||
})
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue