import { render, screen } from '@testing-library/react' import { SyncStatusIndicator } from '@/components/bible/sync-status-indicator' describe('SyncStatusIndicator', () => { it('should show synced state', () => { render() expect(screen.getByTestId('sync-status-synced')).toBeInTheDocument() }) it('should show syncing state with spinner', () => { render() expect(screen.getByTestId('sync-status-syncing')).toBeInTheDocument() }) it('should show error state', () => { render() expect(screen.getByTestId('sync-status-error')).toBeInTheDocument() expect(screen.getByText('Network error')).toBeInTheDocument() }) it('should show pending count', () => { render() expect(screen.getByText('3 pending')).toBeInTheDocument() }) })