]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/tests/client.ts
shared/ typescript types dir server-commands
[github/Chocobozzz/PeerTube.git] / server / tests / client.ts
index 6c32c81db813851dc7184c5796c907dd454db66d..fe048d7ff4a05bbdf89ca5345a793aafc094339e 100644 (file)
@@ -14,7 +14,7 @@ import {
   setAccessTokensToServers,
   setDefaultVideoChannel,
   waitJobs
-} from '../../shared/extra-utils'
+} from '../../shared/server-commands'
 
 const expect = chai.expect
 
@@ -482,16 +482,6 @@ describe('Test a client controllers', function () {
         }
       }
     })
-
-    it('Should add noindex header for some paths', async function () {
-      const paths = [ '/about/peertube' ]
-
-      for (const path of paths) {
-        const { headers } = await makeHTMLRequest(servers[0].url, path)
-
-        expect(headers['x-robots-tag']).to.equal('noindex')
-      }
-    })
   })
 
   describe('Embed HTML', function () {