/**
 * Smoke test for the @bytelyst/auth-ui wiring used by the login surface (UX-11).
 *
 * Pure import test (no DOM): guards that the auth-ui components the login page
 * depends on resolve and build. The full "login form shows email/password +
 * submit" render assertion lives in the Playwright suite
 * (e2e/tracker.spec.ts → "shows login form with correct branding"), which runs
 * the real component in a browser.
 *
 * @see docs/roadmaps/UX_INTEGRATION_BYTELYST.md (UX-11.3)
 */

import { describe, it, expect } from 'vitest';
import { LoginForm, MfaChallenge, SocialButtons } from '@bytelyst/auth-ui';

describe('auth-ui wiring', () => {
  it('resolves LoginForm as a component', () => {
    expect(LoginForm).toBeDefined();
    expect(typeof LoginForm).toBe('function');
  });

  it('resolves MfaChallenge as a component', () => {
    expect(MfaChallenge).toBeDefined();
    expect(typeof MfaChallenge).toBe('function');
  });

  it('resolves SocialButtons as a component', () => {
    expect(SocialButtons).toBeDefined();
    expect(typeof SocialButtons).toBe('function');
  });
});
