Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Merge from upstream

buoyantairae28cdf327d7
diff --cc server/tests/api/activitypub/client.ts
index 0905c5dec9,5ca8bdfd3c..334cd4e5cc
--- a/server/tests/api/activitypub/client.ts
+++ b/server/tests/api/activitypub/client.ts
@@@ -2,15 -2,8 +2,16 @@@
import * as chai from 'chai'
import 'mocha'
-import { flushTests, killallServers, makeActivityPubGetRequest, runServer, ServerInfo, setAccessTokensToServers } from '../../utils'
+import {
+ flushTests,
+ killallServers,
+ makeActivityPubGetRequest,
+ runServer,
+ ServerInfo,
+ setAccessTokensToServers
+} from '../../shared/utils'
+
+
const expect = chai.expect
describe('Test activitypub', function () {
diff --cc server/tests/api/server/handle-down.ts
index e6e0d6c7a6,0421b2b40e..8e162b69ec
--- a/server/tests/api/server/handle-down.ts
+++ b/server/tests/api/server/handle-down.ts
@@@ -5,23 -5,18 +5,25 @@@ import 'mocha
import { JobState, Video } from '../../../../shared/models'
import { VideoPrivacy } from '../../../../shared/models/videos'
import { VideoCommentThreadTree } from '../../../../shared/models/videos/video-comment.model'
-import { completeVideoCheck, getVideo, immutableAssign, reRunServer, unfollow, updateVideo, viewVideo } from '../../utils'
++
import {
+ completeVideoCheck,
+ getVideo,
+ immutableAssign,
+ reRunServer,
+ unfollow,
+ viewVideo,
flushAndRunMultipleServers,
getVideosList,
killallServers,
ServerInfo,
setAccessTokensToServers,
uploadVideo,
++ updateVideo,
wait
-} from '../../utils/index'
-import { follow, getFollowersListPaginationAndSort } from '../../utils/server/follows'
-import { getJobsListPaginationAndSort, waitJobs } from '../../utils/server/jobs'
+} from '../../../../shared/utils'
+import { follow, getFollowersListPaginationAndSort } from '../../../../shared/utils/server/follows'
+import { getJobsListPaginationAndSort, waitJobs } from '../../../../shared/utils/server/jobs'
import {
addVideoCommentReply,
addVideoCommentThread,