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

import { Spinner } from '../Spinner'

describe('<Spinner />', () => {
  it('mounts', () => {
    const spinner = mount(<Spinner />)
    expect(spinner).not.toBeNull()
  })

  it('renders an svg', () => {
    const spinner = mount(<Spinner />)
    expect(spinner).toContainReactComponent('svg')
  })
})
