diff --git a/tests/catalog-growth.test.mjs b/tests/catalog-growth.test.mjs index 623a914c..3860fa34 100644 --- a/tests/catalog-growth.test.mjs +++ b/tests/catalog-growth.test.mjs @@ -58,7 +58,7 @@ test('guide landing pages link only to listed published applications and are dis assert.match(catalog,new RegExp('href="/guides/'+slug+'/"')); assert.match(page,//); - assert.match(page,/gtag\('event','guide_store_click'/); + assert.match(page,/gtag\(\s*'event',\s*'guide_store_click'/); const apps=[...page.matchAll(/data-app="([a-z0-9-]+)"/g)].map(m=>m[1]); assert.equal(apps.length,slug==='quick-games'?5:4); for(const a of apps){