1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-04 10:19:35 +02:00

Add runner server tests

This commit is contained in:
Chocobozzz 2023-04-21 15:00:01 +02:00 committed by Chocobozzz
parent 2fe978744e
commit d102de1b38
95 changed files with 4215 additions and 648 deletions

View file

@ -12,4 +12,13 @@ export class SocketIOCommand extends AbstractCommand {
getLiveNotificationSocket () {
return io(this.server.url + '/live-videos')
}
getRunnersSocket (options: {
runnerToken: string
}) {
return io(this.server.url + '/runners', {
reconnection: false,
auth: { runnerToken: options.runnerToken }
})
}
}