diff options
Diffstat (limited to 'server/tests/api')
-rw-r--r-- | server/tests/api/index-fast.ts | 13 | ||||
-rw-r--r-- | server/tests/api/index-slow.ts | 4 | ||||
-rw-r--r-- | server/tests/api/index.ts | 17 |
3 files changed, 19 insertions, 15 deletions
diff --git a/server/tests/api/index-fast.ts b/server/tests/api/index-fast.ts new file mode 100644 index 000000000..f13d8155d --- /dev/null +++ b/server/tests/api/index-fast.ts | |||
@@ -0,0 +1,13 @@ | |||
1 | // Order of the tests we want to execute | ||
2 | import './config' | ||
3 | import './check-params' | ||
4 | import './friends-basic' | ||
5 | import './users' | ||
6 | import './single-pod' | ||
7 | import './video-abuse' | ||
8 | import './video-blacklist' | ||
9 | import './video-blacklist-management' | ||
10 | import './video-description' | ||
11 | import './video-privacy' | ||
12 | import './services' | ||
13 | import './request-schedulers' | ||
diff --git a/server/tests/api/index-slow.ts b/server/tests/api/index-slow.ts new file mode 100644 index 000000000..e3b50e57a --- /dev/null +++ b/server/tests/api/index-slow.ts | |||
@@ -0,0 +1,4 @@ | |||
1 | // Order of the tests we want to execute | ||
2 | import './multiple-pods' | ||
3 | import './friends-advanced' | ||
4 | import './video-transcoder' | ||
diff --git a/server/tests/api/index.ts b/server/tests/api/index.ts index 371f1bc43..258502d26 100644 --- a/server/tests/api/index.ts +++ b/server/tests/api/index.ts | |||
@@ -1,16 +1,3 @@ | |||
1 | // Order of the tests we want to execute | 1 | // Order of the tests we want to execute |
2 | import './config' | 2 | import './index-fast' |
3 | import './check-params' | 3 | import './index-slow' |
4 | import './friends-basic' | ||
5 | import './users' | ||
6 | import './single-pod' | ||
7 | import './video-abuse' | ||
8 | import './video-blacklist' | ||
9 | import './video-blacklist-management' | ||
10 | import './video-description' | ||
11 | import './video-privacy' | ||
12 | import './multiple-pods' | ||
13 | import './services' | ||
14 | import './request-schedulers' | ||
15 | import './friends-advanced' | ||
16 | import './video-transcoder' | ||