/* eslint-disable @typescript-eslint/no-unused-expressions,@typescript-eslint/require-await */
-import 'mocha'
+import { checkBadCountPagination, checkBadSortPagination, checkBadStartPagination } from '@server/tests/shared'
+import { HttpStatusCode, PeerTubePlugin, PluginType } from '@shared/models'
import {
- checkBadCountPagination,
- checkBadSortPagination,
- checkBadStartPagination,
cleanupTests,
createSingleServer,
makeGetRequest,
makePutBodyRequest,
PeerTubeServer,
setAccessTokensToServers
-} from '@shared/extra-utils'
-import { HttpStatusCode, PeerTubePlugin, PluginType } from '@shared/models'
+} from '@shared/server-commands'
describe('Test server plugins API validators', function () {
let server: PeerTubeServer
// ---------------------------------------------------------------
before(async function () {
- this.timeout(30000)
+ this.timeout(60000)
server = await createSingleServer(1)