-/* tslint:disable:no-unused-expression */
-
-import * as chai from 'chai'
-import 'mocha'
-import {
- acceptFollower,
- cleanupTests,
- flushAndRunMultipleServers,
- MockInstancesIndex,
- ServerInfo,
- setAccessTokensToServers,
- unfollow,
- updateCustomSubConfig,
- wait
-} from '../../../../shared/extra-utils/index'
-import { follow, getFollowersListPaginationAndSort, getFollowingListPaginationAndSort } from '../../../../shared/extra-utils/server/follows'
-import { waitJobs } from '../../../../shared/extra-utils/server/jobs'
-import { ActorFollow } from '../../../../shared/models/actors'
-
-const expect = chai.expect
-
-async function checkFollow (follower: ServerInfo, following: ServerInfo, exists: boolean) {
- {
- const res = await getFollowersListPaginationAndSort(following.url, 0, 5, '-createdAt')
- const follows = res.body.data as ActorFollow[]