import { describe, it, expect } from 'vitest';
import { render, screen } from '@testing-library/react';
import '@testing-library/jest-dom';
import { TestWrapper } from '../test-utils';

// 简单的测试组件
const SimpleComponent = () => <div>测试组件</div>;

describe('简单测试', () => {
  it('应该渲染简单组件', () => {
    render(<SimpleComponent />, { wrapper: TestWrapper });
    expect(screen.getByText('测试组件')).toBeInTheDocument();
  });
});