X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=server%2Ftests%2Fapi%2Fcheck-params%2Fcustom-pages.ts;h=63e3da3d533ffadbc690d5e85176d9e7688d9ae1;hb=2f061e065ab43cc0b73595b619639a92952aeeba;hp=9fbbea31503a7061d001fe5c6c3a37a9fe5622bb;hpb=c0e8b12e7fd554ba4d2ceb0c4900804c6a4c63ea;p=github%2FChocobozzz%2FPeerTube.git diff --git a/server/tests/api/check-params/custom-pages.ts b/server/tests/api/check-params/custom-pages.ts index 9fbbea315..63e3da3d5 100644 --- a/server/tests/api/check-params/custom-pages.ts +++ b/server/tests/api/check-params/custom-pages.ts @@ -1,6 +1,6 @@ /* eslint-disable @typescript-eslint/no-unused-expressions,@typescript-eslint/require-await */ -import 'mocha' +import { HttpStatusCode } from '@shared/models' import { cleanupTests, createSingleServer, @@ -8,8 +8,7 @@ import { makePutBodyRequest, PeerTubeServer, setAccessTokensToServers -} from '@shared/extra-utils' -import { HttpStatusCode } from '@shared/models' +} from '@shared/server-commands' describe('Test custom pages validators', function () { const path = '/api/v1/custom-pages/homepage/instance'