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

import { Page } from '../Page'

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