test: add unit tests for application routing and tenant resolution logic

This commit is contained in:
2026-06-30 08:49:55 -03:00
parent 74144b6d2c
commit b8f4d06caa

View File

@@ -77,8 +77,8 @@ describe('app routes', () => {
expect(router.url).toBe('/');
expect(compiled.querySelector('.store-layout')).not.toBeNull();
expect(compiled.querySelector('.store-home')).not.toBeNull();
expect(compiled.textContent).toContain('Tienda en construccion');
expect(compiled.querySelector('app-store-home-page')).not.toBeNull();
expect(compiled.textContent).toContain('Productos');
expect(compiled.style.getPropertyValue('--tenant-primary')).toBe(tenant.primary_color);
});