bsky-app/__tests__/App-test.tsx

17 lines
294 B
TypeScript
Raw Normal View History

2022-06-08 00:50:05 +02:00
/**
* @format
*/
2022-06-09 20:03:25 +02:00
import 'react-native'
import React from 'react'
import App from '../src/App'
2022-06-08 00:50:05 +02:00
// Note: test renderer must be required after react-native.
2022-06-09 20:03:25 +02:00
import renderer from 'react-test-renderer'
2022-06-08 00:50:05 +02:00
it('renders correctly', () => {
2022-06-08 01:56:31 +02:00
renderer.act(() => {
2022-06-09 20:03:25 +02:00
renderer.create(<App />)
})
})