mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2026-09-03 20:53:09 -05:00
Fix websocket plugin test
This commit is contained in:
@@ -62,7 +62,7 @@ describe('Test plugin websocket', function () {
|
||||
})
|
||||
|
||||
it('Should connect to the websocket and receive pong', function (done) {
|
||||
const ws = buildWebSocket(server, basePaths[0])
|
||||
const ws = buildWebSocket(server, basePaths[0] + 'toto')
|
||||
|
||||
ws.on('open', () => ws.send('ping'))
|
||||
ws.on('message', data => {
|
||||
|
||||
Reference in New Issue
Block a user