aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/plugins/translations.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/tests/plugins/translations.ts')
-rw-r--r--server/tests/plugins/translations.ts7
1 files changed, 3 insertions, 4 deletions
diff --git a/server/tests/plugins/translations.ts b/server/tests/plugins/translations.ts
index d8d878026..8b25c6b75 100644
--- a/server/tests/plugins/translations.ts
+++ b/server/tests/plugins/translations.ts
@@ -2,19 +2,18 @@
2 2
3import 'mocha' 3import 'mocha'
4import * as chai from 'chai' 4import * as chai from 'chai'
5import { PluginsCommand, setAccessTokensToServers } from '../../../shared/extra-utils' 5import { cleanupTests, createSingleServer, PeerTubeServer, PluginsCommand, setAccessTokensToServers } from '@shared/extra-utils'
6import { cleanupTests, flushAndRunServer, ServerInfo } from '../../../shared/extra-utils/server/servers'
7 6
8const expect = chai.expect 7const expect = chai.expect
9 8
10describe('Test plugin translations', function () { 9describe('Test plugin translations', function () {
11 let server: ServerInfo 10 let server: PeerTubeServer
12 let command: PluginsCommand 11 let command: PluginsCommand
13 12
14 before(async function () { 13 before(async function () {
15 this.timeout(30000) 14 this.timeout(30000)
16 15
17 server = await flushAndRunServer(1) 16 server = await createSingleServer(1)
18 await setAccessTokensToServers([ server ]) 17 await setAccessTokensToServers([ server ])
19 18
20 command = server.plugins 19 command = server.plugins