aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/utils/overviews
diff options
context:
space:
mode:
Diffstat (limited to 'server/tests/utils/overviews')
-rw-r--r--server/tests/utils/overviews/overviews.ts18
1 files changed, 0 insertions, 18 deletions
diff --git a/server/tests/utils/overviews/overviews.ts b/server/tests/utils/overviews/overviews.ts
deleted file mode 100644
index 23e3ceb1e..000000000
--- a/server/tests/utils/overviews/overviews.ts
+++ /dev/null
@@ -1,18 +0,0 @@
1import { makeGetRequest } from '../requests/requests'
2
3function getVideosOverview (url: string, useCache = false) {
4 const path = '/api/v1/overviews/videos'
5
6 const query = {
7 t: useCache ? undefined : new Date().getTime()
8 }
9
10 return makeGetRequest({
11 url,
12 path,
13 query,
14 statusCodeExpected: 200
15 })
16}
17
18export { getVideosOverview }