purchaseUrl.test.ts: per language, new URL(...) keeps exactly the origin and
the path of the contract; the query holds the four keys and no other, in
their order; utm_content is the label for each of the four; the exact address
is pinned; the language fallbacks stay. A free string, or no label, does not
compile (@ts-expect-error, checked by tsc in npm run build).
UpsellCtas.render.test.tsx: both buttons open the URL with its query
(update-locked for PurchaseButton, update-locked-download for
DownloadLatestButton), PurchaseButton opens the label its caller gives, and
UpsellGate passes locked-module. PurchaseButton takes only its two labels and
DownloadLatestButton none (tsc).
New wiring tests under the shared hook harness: ErrorPage opens the buttons by
a click on the update check (invoke mocked, check_entitlement false), then
renders again; UpdateCard in the notEntitled state; LicenseCard's body, read
from the element the card returns, opens license-card.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>