import React from 'react'
import { mount } from '../../test/utils'

import { AppProvider } from '../AppProvider'

describe('<AppProvider />', () => {
  it('renders its children', () => {
    const mockChildren = 'mock_children'
    const app = mount(<AppProvider>{mockChildren}</AppProvider>)
    expect(app).toContainReactText(mockChildren)
  })
})
