X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=server%2Ftests%2Fclient.ts;h=fe048d7ff4a05bbdf89ca5345a793aafc094339e;hb=bf54587a3e2ad9c2c186828f2a5682b91ee2cc00;hp=6c32c81db813851dc7184c5796c907dd454db66d;hpb=42cc1887afc80e10ff40675621fe683c76537a18;p=github%2FChocobozzz%2FPeerTube.git diff --git a/server/tests/client.ts b/server/tests/client.ts index 6c32c81db..fe048d7ff 100644 --- a/server/tests/client.ts +++ b/server/tests/client.ts @@ -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 () {