diff options
author | Chocobozzz <me@florianbigard.com> | 2021-07-06 10:35:35 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-07-20 15:27:16 +0200 |
commit | c8fc9b47188b33cfc33184b1ee7e680a093244f1 (patch) | |
tree | 7deb3e57513c0b456decdd9008aa76540393d9fa | |
parent | a92ddacb38a4a17e117ca9ed41680a03580fb81d (diff) | |
download | PeerTube-c8fc9b47188b33cfc33184b1ee7e680a093244f1.tar.gz PeerTube-c8fc9b47188b33cfc33184b1ee7e680a093244f1.tar.zst PeerTube-c8fc9b47188b33cfc33184b1ee7e680a093244f1.zip |
Rename mock server files
-rw-r--r-- | server/tests/api/notifications/admin-notifications.ts | 2 | ||||
-rw-r--r-- | shared/extra-utils/index.ts | 2 | ||||
-rw-r--r-- | shared/extra-utils/mock-servers/index.ts | 2 | ||||
-rw-r--r-- | shared/extra-utils/mock-servers/mock-joinpeertube-versions.ts (renamed from shared/extra-utils/mock-servers/joinpeertube-versions.ts) | 0 |
4 files changed, 4 insertions, 2 deletions
diff --git a/server/tests/api/notifications/admin-notifications.ts b/server/tests/api/notifications/admin-notifications.ts index cfe0bd2bb..170aa4532 100644 --- a/server/tests/api/notifications/admin-notifications.ts +++ b/server/tests/api/notifications/admin-notifications.ts | |||
@@ -2,7 +2,7 @@ | |||
2 | 2 | ||
3 | import 'mocha' | 3 | import 'mocha' |
4 | import { expect } from 'chai' | 4 | import { expect } from 'chai' |
5 | import { MockJoinPeerTubeVersions } from '@shared/extra-utils/mock-servers/joinpeertube-versions' | 5 | import { MockJoinPeerTubeVersions } from '@shared/extra-utils' |
6 | import { PluginType } from '@shared/models' | 6 | import { PluginType } from '@shared/models' |
7 | import { cleanupTests, installPlugin, setPluginLatestVersion, setPluginVersion, wait } from '../../../../shared/extra-utils' | 7 | import { cleanupTests, installPlugin, setPluginLatestVersion, setPluginVersion, wait } from '../../../../shared/extra-utils' |
8 | import { ServerInfo } from '../../../../shared/extra-utils/index' | 8 | import { ServerInfo } from '../../../../shared/extra-utils/index' |
diff --git a/shared/extra-utils/index.ts b/shared/extra-utils/index.ts index a3d3970af..30f44dfc2 100644 --- a/shared/extra-utils/index.ts +++ b/shared/extra-utils/index.ts | |||
@@ -8,7 +8,7 @@ export * from './feeds' | |||
8 | 8 | ||
9 | export * from './logs' | 9 | export * from './logs' |
10 | 10 | ||
11 | export * from './mock-servers/mock-instances-index' | 11 | export * from './mock-servers' |
12 | 12 | ||
13 | export * from './miscs/email' | 13 | export * from './miscs/email' |
14 | export * from './miscs/sql' | 14 | export * from './miscs/sql' |
diff --git a/shared/extra-utils/mock-servers/index.ts b/shared/extra-utils/mock-servers/index.ts new file mode 100644 index 000000000..47679c818 --- /dev/null +++ b/shared/extra-utils/mock-servers/index.ts | |||
@@ -0,0 +1,2 @@ | |||
1 | export * from './mock-instances-index' | ||
2 | export * from './mock-joinpeertube-versions' | ||
diff --git a/shared/extra-utils/mock-servers/joinpeertube-versions.ts b/shared/extra-utils/mock-servers/mock-joinpeertube-versions.ts index 5ea432ecf..5ea432ecf 100644 --- a/shared/extra-utils/mock-servers/joinpeertube-versions.ts +++ b/shared/extra-utils/mock-servers/mock-joinpeertube-versions.ts | |||