aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/helpers
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2022-08-17 15:40:57 +0200
committerChocobozzz <me@florianbigard.com>2022-08-17 15:40:57 +0200
commite0faa8ad6e18ce6248ef1ec93a59dab5b05be468 (patch)
treeca1cd02b34234a1eb6779d04f24bba73313c9739 /server/tests/helpers
parent690bb8f9f3413147a4f71d5ff0a3cd8170a94ce3 (diff)
downloadPeerTube-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.ts1
-rw-r--r--server/tests/helpers/core-utils.ts1
-rw-r--r--server/tests/helpers/dns.ts1
-rw-r--r--server/tests/helpers/image.ts1
-rw-r--r--server/tests/helpers/markdown.ts1
-rw-r--r--server/tests/helpers/request.ts1
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
3import 'mocha'
4import * as chai from 'chai' 3import * as chai from 'chai'
5import { VideoCommentModel } from '../../models/video/video-comment' 4import { 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
3import 'mocha'
4import * as chai from 'chai' 3import * as chai from 'chai'
5import { snakeCase } from 'lodash' 4import { snakeCase } from 'lodash'
6import validator from 'validator' 5import 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
3import 'mocha'
4import { expect } from 'chai' 3import { expect } from 'chai'
5import { isResolvingToUnicastOnly } from '@server/helpers/dns' 4import { 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
3import 'mocha'
4import { expect } from 'chai' 3import { expect } from 'chai'
5import { readFile, remove } from 'fs-extra' 4import { readFile, remove } from 'fs-extra'
6import { join } from 'path' 5import { 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
3import 'mocha'
4import { mdToOneLinePlainText } from '@server/helpers/markdown' 3import { mdToOneLinePlainText } from '@server/helpers/markdown'
5import { expect } from 'chai' 4import { 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
3import 'mocha'
4import { expect } from 'chai' 3import { expect } from 'chai'
5import { pathExists, remove } from 'fs-extra' 4import { pathExists, remove } from 'fs-extra'
6import { join } from 'path' 5import { join } from 'path'