更新脚本修改
This commit is contained in:
@@ -1391,10 +1391,12 @@ test("SSR emits configured TDK, site_name, canonical and bounded pagination link
|
||||
"SSR and metadata share one configuration request",
|
||||
);
|
||||
assert.match(head,/google-site-verification" content="QJFFfKYHJsNfa-lGTdGjsCJc4rytPw-4wsTty-BM6iU"/);
|
||||
assert.ok(!/google-analytics|mc\.yandex/.test(head));
|
||||
assert.ok(!/google-analytics/.test(head));
|
||||
assert.match(home,/googletagmanager\.com\/gtm\.js\?id=/);
|
||||
assert.match(home,/['"]GTM-TXLP67SX['"]/);
|
||||
assert.match(home,/googletagmanager\.com\/ns\.html\?id=GTM-TXLP67SX/);
|
||||
assert.match(home,/['"]GTM-MVSWTDRQ['"]/);
|
||||
assert.match(home,/googletagmanager\.com\/ns\.html\?id=GTM-MVSWTDRQ/);
|
||||
assert.match(home,/mc\.yandex\.ru\/metrika\/tag\.js\?id=114122556/);
|
||||
assert.match(home,/mc\.yandex\.ru\/watch\/114122556/);
|
||||
for (const agent of [
|
||||
"Mozilla/5.0 Chrome/130",
|
||||
"Googlebot",
|
||||
|
||||
Reference in New Issue
Block a user