X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=server%2Ftests%2Fhelpers%2Frequest.ts;h=a85d80b88cf18acc6f5b8404e17f37286ed7748c;hb=863477173efa82a4412d2e522aa46462249f9199;hp=6edbf2a760b8bb58bef0e75b911e1a8dc76e8321;hpb=3455c2656e257ae3d9b4169af58b6889d9904148;p=github%2FChocobozzz%2FPeerTube.git diff --git a/server/tests/helpers/request.ts b/server/tests/helpers/request.ts index 6edbf2a76..a85d80b88 100644 --- a/server/tests/helpers/request.ts +++ b/server/tests/helpers/request.ts @@ -1,12 +1,11 @@ /* eslint-disable @typescript-eslint/no-unused-expressions,@typescript-eslint/require-await */ -import 'mocha' import { expect } from 'chai' import { pathExists, remove } from 'fs-extra' import { join } from 'path' -import { Mock429 } from '@shared/extra-utils/mock-servers/mock-429' -import { FIXTURE_URLS, root, wait } from '../../../shared/extra-utils' +import { root, wait } from '@shared/core-utils' import { doRequest, doRequestAndSaveToFile } from '../../helpers/requests' +import { FIXTURE_URLS, Mock429 } from '../shared' describe('Request helpers', function () { const destPath1 = join(root(), 'test-output-1.txt')