mirror of https://github.com/Chocobozzz/PeerTube
Try to improve server tests compilation speed
parent
74dc3bca2b
commit
76062d9f96
|
@ -22,8 +22,7 @@ import { FollowState } from '../../../shared/models/actors'
|
|||
import { ActorFollow } from '../../../shared/models/actors/follow.model'
|
||||
import { logger } from '../../helpers/logger'
|
||||
import { getServerActor } from '../../helpers/utils'
|
||||
import { ACTOR_FOLLOW_SCORE } from '../../initializers/constants'
|
||||
import { FOLLOW_STATES } from '../../initializers/constants'
|
||||
import { ACTOR_FOLLOW_SCORE, FOLLOW_STATES } from '../../initializers/constants'
|
||||
import { ServerModel } from '../server/server'
|
||||
import { getSort } from '../utils'
|
||||
import { ActorModel, unusedActorAttributesForAPI } from './actor'
|
||||
|
|
|
@ -7,8 +7,6 @@ import {
|
|||
flushAndRunMultipleServers,
|
||||
flushTests,
|
||||
killallServers,
|
||||
makeFollowRequest,
|
||||
makePOSTAPRequest,
|
||||
ServerInfo,
|
||||
setActorField
|
||||
} from '../../../../shared/utils'
|
||||
|
@ -16,6 +14,7 @@ import { HTTP_SIGNATURE } from '../../../initializers/constants'
|
|||
import { buildDigest, buildGlobalHeaders } from '../../../lib/job-queue/handlers/utils/activitypub-http-utils'
|
||||
import * as chai from 'chai'
|
||||
import { activityPubContextify, buildSignedActivity } from '../../../helpers/activitypub'
|
||||
import { makeFollowRequest, makePOSTAPRequest } from '../../../../shared/utils/requests/activitypub'
|
||||
|
||||
const expect = chai.expect
|
||||
|
||||
|
|
|
@ -8,7 +8,6 @@ export * from './miscs/miscs'
|
|||
export * from './miscs/stubs'
|
||||
export * from './miscs/sql'
|
||||
export * from './server/follows'
|
||||
export * from './requests/activitypub'
|
||||
export * from './requests/requests'
|
||||
export * from './requests/check-api-params'
|
||||
export * from './server/servers'
|
||||
|
|
Loading…
Reference in New Issue