diff options
author | Chocobozzz <me@florianbigard.com> | 2021-07-06 10:36:54 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-07-20 15:27:17 +0200 |
commit | 8ef9457fdee7812b1a8cc3b3bdeff94130819003 (patch) | |
tree | f95a5565332a095e17014f211386853a86c9dee1 /server/tests/api/check-params | |
parent | c8fc9b47188b33cfc33184b1ee7e680a093244f1 (diff) | |
download | PeerTube-8ef9457fdee7812b1a8cc3b3bdeff94130819003.tar.gz PeerTube-8ef9457fdee7812b1a8cc3b3bdeff94130819003.tar.zst PeerTube-8ef9457fdee7812b1a8cc3b3bdeff94130819003.zip |
Correctly export misc files
Diffstat (limited to 'server/tests/api/check-params')
-rw-r--r-- | server/tests/api/check-params/contact-form.ts | 5 | ||||
-rw-r--r-- | server/tests/api/check-params/users.ts | 2 |
2 files changed, 3 insertions, 4 deletions
diff --git a/server/tests/api/check-params/contact-form.ts b/server/tests/api/check-params/contact-form.ts index c7f9c1b47..274562cbb 100644 --- a/server/tests/api/check-params/contact-form.ts +++ b/server/tests/api/check-params/contact-form.ts | |||
@@ -1,11 +1,10 @@ | |||
1 | /* eslint-disable @typescript-eslint/no-unused-expressions,@typescript-eslint/require-await */ | 1 | /* eslint-disable @typescript-eslint/no-unused-expressions,@typescript-eslint/require-await */ |
2 | 2 | ||
3 | import 'mocha' | 3 | import 'mocha' |
4 | 4 | import { HttpStatusCode } from '../../../../shared/core-utils/miscs/http-error-codes' | |
5 | import { cleanupTests, flushAndRunServer, immutableAssign, killallServers, reRunServer, ServerInfo } from '../../../../shared/extra-utils' | 5 | import { cleanupTests, flushAndRunServer, immutableAssign, killallServers, reRunServer, ServerInfo } from '../../../../shared/extra-utils' |
6 | import { MockSmtpServer } from '../../../../shared/extra-utils/mock-servers/mock-email' | ||
6 | import { sendContactForm } from '../../../../shared/extra-utils/server/contact-form' | 7 | import { sendContactForm } from '../../../../shared/extra-utils/server/contact-form' |
7 | import { MockSmtpServer } from '../../../../shared/extra-utils/miscs/email' | ||
8 | import { HttpStatusCode } from '../../../../shared/core-utils/miscs/http-error-codes' | ||
9 | 8 | ||
10 | describe('Test contact form API validators', function () { | 9 | describe('Test contact form API validators', function () { |
11 | let server: ServerInfo | 10 | let server: ServerInfo |
diff --git a/server/tests/api/check-params/users.ts b/server/tests/api/check-params/users.ts index 70a872ce5..da0f55bf8 100644 --- a/server/tests/api/check-params/users.ts +++ b/server/tests/api/check-params/users.ts | |||
@@ -32,7 +32,7 @@ import { | |||
32 | uploadVideo, | 32 | uploadVideo, |
33 | userLogin | 33 | userLogin |
34 | } from '../../../../shared/extra-utils' | 34 | } from '../../../../shared/extra-utils' |
35 | import { MockSmtpServer } from '../../../../shared/extra-utils/miscs/email' | 35 | import { MockSmtpServer } from '../../../../shared/extra-utils/mock-servers/mock-email' |
36 | import { | 36 | import { |
37 | checkBadCountPagination, | 37 | checkBadCountPagination, |
38 | checkBadSortPagination, | 38 | checkBadSortPagination, |