19 lines
506 B
TypeScript
19 lines
506 B
TypeScript
|
import React from 'react'
|
||
|
import {MobileShell} from '../../../../src/view/shell/mobile'
|
||
|
import renderer from 'react-test-renderer'
|
||
|
import {SafeAreaProvider} from 'react-native-safe-area-context'
|
||
|
// import {render} from '../../../../jest/test-utils'
|
||
|
|
||
|
describe('MobileShell', () => {
|
||
|
it('renders correctly', () => {
|
||
|
const tree = renderer
|
||
|
.create(
|
||
|
<SafeAreaProvider>
|
||
|
<MobileShell />
|
||
|
</SafeAreaProvider>,
|
||
|
)
|
||
|
.toJSON()
|
||
|
expect(tree).toMatchSnapshot()
|
||
|
})
|
||
|
})
|