X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=server%2Ftests%2Fclient.ts;h=a8a697f99bebbf91521d65e6731f8701f314ed84;hb=3c7ddd7daa61d35c6fd0a992389a92599a246779;hp=f41129895e63b631d242b1baeae5f4826c26eb34;hpb=c6d20c84a75c77f50e19afa93aa318ad92edba90;p=github%2FChocobozzz%2FPeerTube.git
diff --git a/server/tests/client.ts b/server/tests/client.ts
index f41129895..a8a697f99 100644
--- a/server/tests/client.ts
+++ b/server/tests/client.ts
@@ -3,7 +3,15 @@
import 'mocha'
import * as chai from 'chai'
import { omit } from 'lodash'
-import { Account, HTMLServerConfig, HttpStatusCode, ServerConfig, VideoPlaylistCreateResult, VideoPlaylistPrivacy, VideoPrivacy } from '@shared/models'
+import {
+ Account,
+ HTMLServerConfig,
+ HttpStatusCode,
+ ServerConfig,
+ VideoPlaylistCreateResult,
+ VideoPlaylistPrivacy,
+ VideoPrivacy
+} from '@shared/models'
import {
cleanupTests,
createMultipleServers,
@@ -522,23 +530,6 @@ describe('Test a client controllers', function () {
expect(res.text).to.contain('')
}
})
-
- it('Should add noindex meta tag for remote accounts', async function () {
- const handle = 'root_channel@' + servers[0].host
- const paths = [ '/video-channels/', '/c/', '/@' ]
-
- for (const path of paths) {
- {
- const { text } = await makeHTMLRequest(servers[1].url, path + handle)
- expect(text).to.contain('')
- }
-
- {
- const { text } = await makeHTMLRequest(servers[0].url, path + handle)
- expect(text).to.not.contain('')
- }
- }
- })
})
describe('Embed HTML', function () {