diff options
author | Chocobozzz <me@florianbigard.com> | 2022-08-17 15:40:57 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2022-08-17 15:40:57 +0200 |
commit | e0faa8ad6e18ce6248ef1ec93a59dab5b05be468 (patch) | |
tree | ca1cd02b34234a1eb6779d04f24bba73313c9739 /server/tests/helpers | |
parent | 690bb8f9f3413147a4f71d5ff0a3cd8170a94ce3 (diff) | |
download | PeerTube-e0faa8ad6e18ce6248ef1ec93a59dab5b05be468.tar.gz PeerTube-e0faa8ad6e18ce6248ef1ec93a59dab5b05be468.tar.zst PeerTube-e0faa8ad6e18ce6248ef1ec93a59dab5b05be468.zip |
We don't need to import mocha
Diffstat (limited to 'server/tests/helpers')
-rw-r--r-- | server/tests/helpers/comment-model.ts | 1 | ||||
-rw-r--r-- | server/tests/helpers/core-utils.ts | 1 | ||||
-rw-r--r-- | server/tests/helpers/dns.ts | 1 | ||||
-rw-r--r-- | server/tests/helpers/image.ts | 1 | ||||
-rw-r--r-- | server/tests/helpers/markdown.ts | 1 | ||||
-rw-r--r-- | server/tests/helpers/request.ts | 1 |
6 files changed, 0 insertions, 6 deletions
diff --git a/server/tests/helpers/comment-model.ts b/server/tests/helpers/comment-model.ts index 31dc6ec72..e1c563dee 100644 --- a/server/tests/helpers/comment-model.ts +++ b/server/tests/helpers/comment-model.ts | |||
@@ -1,6 +1,5 @@ | |||
1 | /* eslint-disable @typescript-eslint/no-unused-expressions,@typescript-eslint/require-await */ | 1 | /* eslint-disable @typescript-eslint/no-unused-expressions,@typescript-eslint/require-await */ |
2 | 2 | ||
3 | import 'mocha' | ||
4 | import * as chai from 'chai' | 3 | import * as chai from 'chai' |
5 | import { VideoCommentModel } from '../../models/video/video-comment' | 4 | import { VideoCommentModel } from '../../models/video/video-comment' |
6 | 5 | ||
diff --git a/server/tests/helpers/core-utils.ts b/server/tests/helpers/core-utils.ts index e3e5eb45c..4f059d982 100644 --- a/server/tests/helpers/core-utils.ts +++ b/server/tests/helpers/core-utils.ts | |||
@@ -1,6 +1,5 @@ | |||
1 | /* eslint-disable @typescript-eslint/no-unused-expressions,@typescript-eslint/require-await */ | 1 | /* eslint-disable @typescript-eslint/no-unused-expressions,@typescript-eslint/require-await */ |
2 | 2 | ||
3 | import 'mocha' | ||
4 | import * as chai from 'chai' | 3 | import * as chai from 'chai' |
5 | import { snakeCase } from 'lodash' | 4 | import { snakeCase } from 'lodash' |
6 | import validator from 'validator' | 5 | import validator from 'validator' |
diff --git a/server/tests/helpers/dns.ts b/server/tests/helpers/dns.ts index 309de5426..49b506e7b 100644 --- a/server/tests/helpers/dns.ts +++ b/server/tests/helpers/dns.ts | |||
@@ -1,6 +1,5 @@ | |||
1 | /* eslint-disable @typescript-eslint/no-unused-expressions,@typescript-eslint/require-await */ | 1 | /* eslint-disable @typescript-eslint/no-unused-expressions,@typescript-eslint/require-await */ |
2 | 2 | ||
3 | import 'mocha' | ||
4 | import { expect } from 'chai' | 3 | import { expect } from 'chai' |
5 | import { isResolvingToUnicastOnly } from '@server/helpers/dns' | 4 | import { isResolvingToUnicastOnly } from '@server/helpers/dns' |
6 | 5 | ||
diff --git a/server/tests/helpers/image.ts b/server/tests/helpers/image.ts index 7c5da69b5..19a99cba9 100644 --- a/server/tests/helpers/image.ts +++ b/server/tests/helpers/image.ts | |||
@@ -1,6 +1,5 @@ | |||
1 | /* eslint-disable @typescript-eslint/no-unused-expressions,@typescript-eslint/require-await */ | 1 | /* eslint-disable @typescript-eslint/no-unused-expressions,@typescript-eslint/require-await */ |
2 | 2 | ||
3 | import 'mocha' | ||
4 | import { expect } from 'chai' | 3 | import { expect } from 'chai' |
5 | import { readFile, remove } from 'fs-extra' | 4 | import { readFile, remove } from 'fs-extra' |
6 | import { join } from 'path' | 5 | import { join } from 'path' |
diff --git a/server/tests/helpers/markdown.ts b/server/tests/helpers/markdown.ts index 8177477f6..6fab31d6f 100644 --- a/server/tests/helpers/markdown.ts +++ b/server/tests/helpers/markdown.ts | |||
@@ -1,6 +1,5 @@ | |||
1 | /* eslint-disable @typescript-eslint/no-unused-expressions,@typescript-eslint/require-await */ | 1 | /* eslint-disable @typescript-eslint/no-unused-expressions,@typescript-eslint/require-await */ |
2 | 2 | ||
3 | import 'mocha' | ||
4 | import { mdToOneLinePlainText } from '@server/helpers/markdown' | 3 | import { mdToOneLinePlainText } from '@server/helpers/markdown' |
5 | import { expect } from 'chai' | 4 | import { expect } from 'chai' |
6 | 5 | ||
diff --git a/server/tests/helpers/request.ts b/server/tests/helpers/request.ts index de507ba35..a85d80b88 100644 --- a/server/tests/helpers/request.ts +++ b/server/tests/helpers/request.ts | |||
@@ -1,6 +1,5 @@ | |||
1 | /* eslint-disable @typescript-eslint/no-unused-expressions,@typescript-eslint/require-await */ | 1 | /* eslint-disable @typescript-eslint/no-unused-expressions,@typescript-eslint/require-await */ |
2 | 2 | ||
3 | import 'mocha' | ||
4 | import { expect } from 'chai' | 3 | import { expect } from 'chai' |
5 | import { pathExists, remove } from 'fs-extra' | 4 | import { pathExists, remove } from 'fs-extra' |
6 | import { join } from 'path' | 5 | import { join } from 'path' |