aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/utils
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-01-24 11:54:32 +0100
committerChocobozzz <me@florianbigard.com>2018-01-24 11:54:32 +0100
commit5e1c08eb94746c44b8b14a12c0937aadb34feb57 (patch)
treeb12dc134fa7c19456c0cc012448a9877c22f5690 /server/tests/utils
parent9ee83eb99e908c6038cbb6501bacfe18d092f0b6 (diff)
downloadPeerTube-5e1c08eb94746c44b8b14a12c0937aadb34feb57.tar.gz
PeerTube-5e1c08eb94746c44b8b14a12c0937aadb34feb57.tar.zst
PeerTube-5e1c08eb94746c44b8b14a12c0937aadb34feb57.zip
Add api doc in html
Diffstat (limited to 'server/tests/utils')
-rw-r--r--server/tests/utils/miscs/miscs.ts1
-rw-r--r--server/tests/utils/videos/videos.ts2
2 files changed, 1 insertions, 2 deletions
diff --git a/server/tests/utils/miscs/miscs.ts b/server/tests/utils/miscs/miscs.ts
index f93e2372e..99d109bfe 100644
--- a/server/tests/utils/miscs/miscs.ts
+++ b/server/tests/utils/miscs/miscs.ts
@@ -1,6 +1,5 @@
1/* tslint:disable:no-unused-expression */ 1/* tslint:disable:no-unused-expression */
2 2
3import { expect } from 'chai'
4import { join } from 'path' 3import { join } from 'path'
5import * as request from 'supertest' 4import * as request from 'supertest'
6import * as WebTorrent from 'webtorrent' 5import * as WebTorrent from 'webtorrent'
diff --git a/server/tests/utils/videos/videos.ts b/server/tests/utils/videos/videos.ts
index 605acf565..860f04fd8 100644
--- a/server/tests/utils/videos/videos.ts
+++ b/server/tests/utils/videos/videos.ts
@@ -7,7 +7,7 @@ import { extname, isAbsolute, join } from 'path'
7import * as request from 'supertest' 7import * as request from 'supertest'
8import { getMyUserInformation, makeGetRequest, root, ServerInfo, testImage } from '../' 8import { getMyUserInformation, makeGetRequest, root, ServerInfo, testImage } from '../'
9import { VideoPrivacy } from '../../../../shared/models/videos' 9import { VideoPrivacy } from '../../../../shared/models/videos'
10import { readdirPromise, readFileBufferPromise } from '../../../helpers/core-utils' 10import { readdirPromise } from '../../../helpers/core-utils'
11import { VIDEO_CATEGORIES, VIDEO_LANGUAGES, VIDEO_LICENCES, VIDEO_PRIVACIES } from '../../../initializers' 11import { VIDEO_CATEGORIES, VIDEO_LANGUAGES, VIDEO_LICENCES, VIDEO_PRIVACIES } from '../../../initializers'
12import { dateIsValid, webtorrentAdd } from '../index' 12import { dateIsValid, webtorrentAdd } from '../index'
13 13