import { render, screen } from '@testing-library/react'
import { describe, expect, it } from 'vitest'

function SmokeView() {
  return <p>测试环境已就绪</p>
}

describe('frontend test foundation', () => {
  it('renders a React component in jsdom', () => {
    render(<SmokeView />)
    expect(screen.getByText('测试环境已就绪')).toBeInTheDocument()
  })
})
