aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests
diff options
context:
space:
mode:
Diffstat (limited to 'server/tests')
-rw-r--r--server/tests/client.ts10
1 files changed, 0 insertions, 10 deletions
diff --git a/server/tests/client.ts b/server/tests/client.ts
index 6c32c81db..a91bec906 100644
--- a/server/tests/client.ts
+++ b/server/tests/client.ts
@@ -482,16 +482,6 @@ describe('Test a client controllers', function () {
482 } 482 }
483 } 483 }
484 }) 484 })
485
486 it('Should add noindex header for some paths', async function () {
487 const paths = [ '/about/peertube' ]
488
489 for (const path of paths) {
490 const { headers } = await makeHTMLRequest(servers[0].url, path)
491
492 expect(headers['x-robots-tag']).to.equal('noindex')
493 }
494 })
495 }) 485 })
496 486
497 describe('Embed HTML', function () { 487 describe('Embed HTML', function () {