mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-05 10:49:28 +02:00
Introduce server commands
This commit is contained in:
parent
0d8ecb7592
commit
6c5065a011
63 changed files with 688 additions and 708 deletions
|
@ -22,8 +22,7 @@ import {
|
|||
flushAndRunMultipleServers,
|
||||
killallServers,
|
||||
reRunServer,
|
||||
ServerInfo,
|
||||
waitUntilLog
|
||||
ServerInfo
|
||||
} from '../../../shared/extra-utils/server/servers'
|
||||
|
||||
describe('Test plugin action hooks', function () {
|
||||
|
@ -32,7 +31,7 @@ describe('Test plugin action hooks', function () {
|
|||
let threadId: number
|
||||
|
||||
function checkHook (hook: ServerHookName) {
|
||||
return waitUntilLog(servers[0], 'Run hook ' + hook)
|
||||
return servers[0].serversCommand.waitUntilLog('Run hook ' + hook)
|
||||
}
|
||||
|
||||
before(async function () {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue