diff options
Diffstat (limited to 'server/tests')
-rw-r--r-- | server/tests/api/ci-1.sh | 10 | ||||
-rw-r--r-- | server/tests/api/ci-2.sh | 10 | ||||
-rw-r--r-- | server/tests/api/ci-3.sh | 8 | ||||
-rw-r--r-- | server/tests/api/ci-4.sh | 11 |
4 files changed, 0 insertions, 39 deletions
diff --git a/server/tests/api/ci-1.sh b/server/tests/api/ci-1.sh deleted file mode 100644 index faa440785..000000000 --- a/server/tests/api/ci-1.sh +++ /dev/null | |||
@@ -1,10 +0,0 @@ | |||
1 | #!/usr/bin/env sh | ||
2 | |||
3 | set -eu | ||
4 | |||
5 | checkParamFiles=$(find server/tests/api/check-params -type f | grep -v index.ts | xargs echo) | ||
6 | notificationsFiles=$(find server/tests/api/notifications -type f | grep -v index.ts | xargs echo) | ||
7 | searchFiles=$(find server/tests/api/search -type f | grep -v index.ts | xargs echo) | ||
8 | |||
9 | MOCHA_PARALLEL=true npm run mocha -- --timeout 30000 --exit --require ts-node/register --require tsconfig-paths/register --bail \ | ||
10 | $notificationsFiles $searchFiles $checkParamFiles | ||
diff --git a/server/tests/api/ci-2.sh b/server/tests/api/ci-2.sh deleted file mode 100644 index 016df1cfc..000000000 --- a/server/tests/api/ci-2.sh +++ /dev/null | |||
@@ -1,10 +0,0 @@ | |||
1 | #!/usr/bin/env sh | ||
2 | |||
3 | set -eu | ||
4 | |||
5 | serverFiles=$(find server/tests/api/server -type f | grep -v index.ts | xargs echo) | ||
6 | usersFiles=$(find server/tests/api/users -type f | grep -v index.ts | xargs echo) | ||
7 | |||
8 | MOCHA_PARALLEL=true npm run mocha -- --parallel --jobs $1 --timeout 30000 --exit \ | ||
9 | --require ts-node/register --require tsconfig-paths/register --bail \ | ||
10 | $serverFiles $usersFiles | ||
diff --git a/server/tests/api/ci-3.sh b/server/tests/api/ci-3.sh deleted file mode 100644 index ae5bb735a..000000000 --- a/server/tests/api/ci-3.sh +++ /dev/null | |||
@@ -1,8 +0,0 @@ | |||
1 | #!/usr/bin/env sh | ||
2 | |||
3 | set -eu | ||
4 | |||
5 | videosFiles=$(find server/tests/api/videos -type f | grep -v index.ts | xargs echo) | ||
6 | |||
7 | npm run mocha -- --timeout 30000 --exit --require ts-node/register --require tsconfig-paths/register --bail \ | ||
8 | $videosFiles | ||
diff --git a/server/tests/api/ci-4.sh b/server/tests/api/ci-4.sh deleted file mode 100644 index 4998de364..000000000 --- a/server/tests/api/ci-4.sh +++ /dev/null | |||
@@ -1,11 +0,0 @@ | |||
1 | #!/usr/bin/env sh | ||
2 | |||
3 | set -eu | ||
4 | |||
5 | activitypubFiles=$(find server/tests/api/moderation -type f | grep -v index.ts | xargs echo) | ||
6 | redundancyFiles=$(find server/tests/api/redundancy -type f | grep -v index.ts | xargs echo) | ||
7 | activitypubFiles=$(find server/tests/api/activitypub -type f | grep -v index.ts | xargs echo) | ||
8 | |||
9 | TS_NODE_FILES=true MOCHA_PARALLEL=true npm run mocha -- --parallel --jobs $1 --timeout 30000 --exit \ | ||
10 | --require ts-node/register --require tsconfig-paths/register --bail \ | ||
11 | $redundancyFiles $activitypubFiles | ||