mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-03 09:49:20 +02:00
Fix tests
This commit is contained in:
parent
6a1e67b30a
commit
3d446a26ad
11 changed files with 21 additions and 11 deletions
|
@ -22,7 +22,7 @@ var testUtils = {
|
|||
// ---------------------- Export functions --------------------
|
||||
|
||||
function flushTests (callback) {
|
||||
exec(pathUtils.join(__dirname, '../../scripts/clean_test.sh'), callback)
|
||||
exec(pathUtils.join(__dirname, '../../../bin/clean_test.sh'), callback)
|
||||
}
|
||||
|
||||
function getFriendsList (url, end) {
|
||||
|
@ -139,7 +139,7 @@ function runServer (number, callback) {
|
|||
detached: true
|
||||
}
|
||||
|
||||
var app = fork(pathUtils.join(__dirname, '../../server.js'), [], options)
|
||||
var app = fork(pathUtils.join(__dirname, '../../../server.js'), [], options)
|
||||
app.stdout.on('data', function onStdout (data) {
|
||||
var dont_continue = false
|
||||
// Check if all required sentences are here
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue