import React from 'react' import { shallow } from 'enzyme' import { expect } from 'chai' import Usage from './usage' import '../enzyme-conf.spec' describe('', function() { it('renders', function() { shallow() }) it('contains some of the expected text', function() { const wrapper = shallow() expect(wrapper).to.contain.text('use them responsibly') }) // This test requires Link to be mocked. // const wrapper = render() // expect(wrapper.html()).to.contain( // 'needed for spaces or special characters!' // ) // }) })