diff options
-rw-r--r-- | server/tests/client.ts | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/server/tests/client.ts b/server/tests/client.ts index f41129895..dd95e538a 100644 --- a/server/tests/client.ts +++ b/server/tests/client.ts | |||
@@ -522,23 +522,6 @@ describe('Test a client controllers', function () { | |||
522 | expect(res.text).to.contain('<meta name="robots" content="noindex" />') | 522 | expect(res.text).to.contain('<meta name="robots" content="noindex" />') |
523 | } | 523 | } |
524 | }) | 524 | }) |
525 | |||
526 | it('Should add noindex meta tag for remote accounts', async function () { | ||
527 | const handle = 'root_channel@' + servers[0].host | ||
528 | const paths = [ '/video-channels/', '/c/', '/@' ] | ||
529 | |||
530 | for (const path of paths) { | ||
531 | { | ||
532 | const { text } = await makeHTMLRequest(servers[1].url, path + handle) | ||
533 | expect(text).to.contain('<meta name="robots" content="noindex" />') | ||
534 | } | ||
535 | |||
536 | { | ||
537 | const { text } = await makeHTMLRequest(servers[0].url, path + handle) | ||
538 | expect(text).to.not.contain('<meta name="robots" content="noindex" />') | ||
539 | } | ||
540 | } | ||
541 | }) | ||
542 | }) | 525 | }) |
543 | 526 | ||
544 | describe('Embed HTML', function () { | 527 | describe('Embed HTML', function () { |