From 5276f236f0557124f34086531082bee1698986f2 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Wed, 31 Jul 2024 16:00:31 +0200 Subject: [PATCH] Fix tracker test --- packages/tests/src/api/server/tracker.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/tests/src/api/server/tracker.ts b/packages/tests/src/api/server/tracker.ts index 9c5600582..58e99ff65 100644 --- a/packages/tests/src/api/server/tracker.ts +++ b/packages/tests/src/api/server/tracker.ts @@ -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() }) })