]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/tests/client.ts
Fix email links displayed twice as text
[github/Chocobozzz/PeerTube.git] / server / tests / client.ts
index f41129895e63b631d242b1baeae5f4826c26eb34..a8a697f99bebbf91521d65e6731f8701f314ed84 100644 (file)
@@ -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('<meta name="robots" content="noindex" />')
       }
     })
-
-    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('<meta name="robots" content="noindex" />')
-        }
-
-        {
-          const { text } = await makeHTMLRequest(servers[0].url, path + handle)
-          expect(text).to.not.contain('<meta name="robots" content="noindex" />')
-        }
-      }
-    })
   })
 
   describe('Embed HTML', function () {