import React from 'react'
import { Text, View } from 'react-native'
import { render } from '@testing-library/react-native'

// 最简单的测试组件
const SimpleComponent = () => (
  <View>
    <Text>Hello Test</Text>
  </View>
)

describe('Simple Test', () => {
  test('renders simple component', () => {
    const { getByText } = render(<SimpleComponent />)
    expect(getByText('Hello Test')).toBeTruthy()
  })
})
