import { describe, it, expect } from 'vitest'; import { render, screen } from '@testing-library/react'; import App from './App'; describe('App', () => { it('renders without crashing', () => { render(); expect(screen.getByText(/Antler ERP/i)).toBeInTheDocument(); }); it('wraps children with AntD ConfigProvider and renders Button', () => { render(); const btn = screen.getByTestId('sentinel-btn'); expect(btn).toBeInTheDocument(); expect(btn.className).toContain('ant-btn'); }); });