aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/api/check-params
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-07-06 10:36:54 +0200
committerChocobozzz <me@florianbigard.com>2021-07-20 15:27:17 +0200
commit8ef9457fdee7812b1a8cc3b3bdeff94130819003 (patch)
treef95a5565332a095e17014f211386853a86c9dee1 /server/tests/api/check-params
parentc8fc9b47188b33cfc33184b1ee7e680a093244f1 (diff)
downloadPeerTube-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.ts5
-rw-r--r--server/tests/api/check-params/users.ts2
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
3import 'mocha' 3import 'mocha'
4 4import { HttpStatusCode } from '../../../../shared/core-utils/miscs/http-error-codes'
5import { cleanupTests, flushAndRunServer, immutableAssign, killallServers, reRunServer, ServerInfo } from '../../../../shared/extra-utils' 5import { cleanupTests, flushAndRunServer, immutableAssign, killallServers, reRunServer, ServerInfo } from '../../../../shared/extra-utils'
6import { MockSmtpServer } from '../../../../shared/extra-utils/mock-servers/mock-email'
6import { sendContactForm } from '../../../../shared/extra-utils/server/contact-form' 7import { sendContactForm } from '../../../../shared/extra-utils/server/contact-form'
7import { MockSmtpServer } from '../../../../shared/extra-utils/miscs/email'
8import { HttpStatusCode } from '../../../../shared/core-utils/miscs/http-error-codes'
9 8
10describe('Test contact form API validators', function () { 9describe('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'
35import { MockSmtpServer } from '../../../../shared/extra-utils/miscs/email' 35import { MockSmtpServer } from '../../../../shared/extra-utils/mock-servers/mock-email'
36import { 36import {
37 checkBadCountPagination, 37 checkBadCountPagination,
38 checkBadSortPagination, 38 checkBadSortPagination,