fix billing and 2fa admin
Build & Push / Pipeline Tests (push) Failing after 1m58s
Build & Push / Build & Push Docker Image (push) Has been skipped
Test / Type Check (all packages) (push) Successful in 58s
Test / API Unit Tests (push) Successful in 1m9s
Test / Homepage Unit Tests (push) Successful in 46s
Test / Carplace Unit Tests (push) Successful in 43s
Test / Admin Unit Tests (push) Successful in 41s
Test / Dashboard Unit Tests (push) Successful in 45s
Test / API Integration Tests (push) Failing after 1m9s

This commit is contained in:
root
2026-08-10 22:35:55 -04:00
parent 10ca76fc1e
commit 5f06256271
73 changed files with 8803 additions and 570 deletions
@@ -37,6 +37,13 @@ describe('homepage content model', () => {
expect(content.final.secondary.disabledReason).toBe(enShell.states.pendingBody);
});
it('keeps create account links in the current homepage theme', () => {
const content = buildHomepageContent(enHomepage, enShell, 'en', 'light');
expect(content.hero.primary.href).toBe('/dashboard/sign-up?lang=en&theme=light');
expect(content.final.primary.href).toBe('/dashboard/sign-up?lang=en&theme=light');
});
it('includes explicit theme handoff in account creation URLs', () => {
expect(accountCreateUrl('en', 'light')).toBe('/dashboard/sign-up?lang=en&theme=light');
expect(accountCreateUrl('en', 'dark')).toBe('/dashboard/sign-up?lang=en&theme=dark');