about summary refs log tree commit diff
path: root/__tests__/view/shell/mobile/index.test.tsx
blob: 96f16126084053d684eca338b4380d2d3aa8edcf (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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()
  })
})