diff --git a/scripts/test-tagged-links.ts b/scripts/test-tagged-links.ts index 8cae4e9..6bc5c4f 100644 --- a/scripts/test-tagged-links.ts +++ b/scripts/test-tagged-links.ts @@ -27,7 +27,7 @@ assert.equal(taggedDestination('a'.repeat(41)), null); // Query strings on the request are not part of the code and cannot retarget it. assert.equal(taggedDestination('ig-bio?dest=https://evil.example'), null); -assert.equal(Object.keys(taggedRoutes).length, 284); +assert.equal(Object.keys(taggedRoutes).length, 293); for (const [code, dest] of Object.entries(taggedRoutes)) { assert.match(code, /^[a-z0-9-]{1,40}$/); assert.equal(isSameSitePath(dest), true, `${code} destination must be same-site`); @@ -72,6 +72,9 @@ assert.equal(taggedDestination('pt-lbtt'), '/'); assert.equal(taggedDestination('pt-arboriculture-australia'), '/'); assert.equal(taggedDestination('pt-tastafe'), '/'); assert.equal(taggedDestination('pt-lincoln-sentry'), '/'); +assert.equal(taggedDestination('pt-my-great-bookkeeper'), '/'); +assert.equal(taggedDestination('pt-migas'), '/'); +assert.equal(taggedDestination('pt-csq'), null); assert.equal(taggedDestination('pt-vacc'), null); assert.equal(taggedDestination('pt-tools-warehouse'), null); assert.equal(isSameSitePath('/free/car-logbook/'), true); diff --git a/src/config.ts b/src/config.ts index 9362f26..bc9442f 100644 --- a/src/config.ts +++ b/src/config.ts @@ -348,6 +348,15 @@ export const taggedRoutes = { 'pt-irrigation-australia': '/', 'pt-resene': '/', 'pt-lincoln-sentry': '/', + 'pt-my-great-bookkeeper': '/', + 'pt-emu-bookkeeping': '/', + 'pt-lux-advisory': '/', + 'pt-hart-partners': '/', + 'pt-lawson-accounting': '/', + 'pt-stellar-accounts': '/', + 'pt-galley-associates': '/', + 'pt-australian-skills-group': '/', + 'pt-migas': '/', // Kitbag Email 'em-261127': '/go/etsy-p05/?page=em-261127&coupon=BFCM15', 'em-261127-shop': '/go/etsy-shop/?page=em-261127-shop&coupon=BFCM15',