]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - shared/extra-utils/mock-servers/mock-plugin-blocklist.ts
Try to fix mock server ports
[github/Chocobozzz/PeerTube.git] / shared / extra-utils / mock-servers / mock-plugin-blocklist.ts
index 6a71532b589d7cce070bc202eb2488e59228a5e8..344d4bdbb7d7dca5d7d20949cd792b1189b1e355 100644 (file)
@@ -23,7 +23,7 @@ export class MockBlocklist {
         return res.json(this.body)
       })
 
-      const port = 42201 + randomInt(1, 100)
+      const port = 45000 + randomInt(1, 1000)
       this.server = app.listen(port, () => res(port))
     })
   }