import test from 'tape'
import { shallow } from 'enzyme'
import React from 'react'

import RepoIssues from './issues'

test('<RepoIssues /> with no props should throw error', t => {
  t.throws(() => {
    shallow(<RepoIssues />)
  })
  t.end()
})

// @flow

import test from 'tape'
import { shallow } from 'enzyme'
import React from 'react'

import RepoIssues from './issues'

test('<RepoIssues /> with no props should throw error', t => {
  t.throws(() => {
    shallow(<RepoIssues {...({}: any)} />)
  })
  t.end()
})

Add types