diff options
author | Chocobozzz <me@florianbigard.com> | 2018-01-24 11:54:32 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-01-24 11:54:32 +0100 |
commit | 5e1c08eb94746c44b8b14a12c0937aadb34feb57 (patch) | |
tree | b12dc134fa7c19456c0cc012448a9877c22f5690 /server/tests | |
parent | 9ee83eb99e908c6038cbb6501bacfe18d092f0b6 (diff) | |
download | PeerTube-5e1c08eb94746c44b8b14a12c0937aadb34feb57.tar.gz PeerTube-5e1c08eb94746c44b8b14a12c0937aadb34feb57.tar.zst PeerTube-5e1c08eb94746c44b8b14a12c0937aadb34feb57.zip |
Add api doc in html
Diffstat (limited to 'server/tests')
-rw-r--r-- | server/tests/utils/miscs/miscs.ts | 1 | ||||
-rw-r--r-- | server/tests/utils/videos/videos.ts | 2 |
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 | ||
3 | import { expect } from 'chai' | ||
4 | import { join } from 'path' | 3 | import { join } from 'path' |
5 | import * as request from 'supertest' | 4 | import * as request from 'supertest' |
6 | import * as WebTorrent from 'webtorrent' | 5 | import * 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' | |||
7 | import * as request from 'supertest' | 7 | import * as request from 'supertest' |
8 | import { getMyUserInformation, makeGetRequest, root, ServerInfo, testImage } from '../' | 8 | import { getMyUserInformation, makeGetRequest, root, ServerInfo, testImage } from '../' |
9 | import { VideoPrivacy } from '../../../../shared/models/videos' | 9 | import { VideoPrivacy } from '../../../../shared/models/videos' |
10 | import { readdirPromise, readFileBufferPromise } from '../../../helpers/core-utils' | 10 | import { readdirPromise } from '../../../helpers/core-utils' |
11 | import { VIDEO_CATEGORIES, VIDEO_LANGUAGES, VIDEO_LICENCES, VIDEO_PRIVACIES } from '../../../initializers' | 11 | import { VIDEO_CATEGORIES, VIDEO_LANGUAGES, VIDEO_LICENCES, VIDEO_PRIVACIES } from '../../../initializers' |
12 | import { dateIsValid, webtorrentAdd } from '../index' | 12 | import { dateIsValid, webtorrentAdd } from '../index' |
13 | 13 | ||