/* eslint-env mocha */

const { expect } = require('chai')

describe('<Search />', () => {
  it('should pass', () => {
    expect(1 + 1 === 2).to.be.true
  })
})

@@ -56,102 +56,897 @@
 i')%0A
-%0Adescribe('%3CSearch /%3E', () =%3E %7B%0A  it('should pass', () =%3E %7B%0A    expect(1 + 1 === 2).to.be.true
+const React = require('react')%0Aconst Search = require('../js/Search')%0Aconst ShowCard = require('../js/ShowCard')%0Aconst %7B shallow, mount %7D = require('enzyme')%0Aconst %7B shows %7D = require('../public/data')%0A%0Adescribe('%3CSearch /%3E', () =%3E %7B%0A  it('should render the brand', () =%3E %7B%0A    const wrapper = shallow(%3CSearch /%3E)%0A    expect(wrapper.contains(%3Ch1 className='brand'%3Esvideo%3C/h1%3E)).to.be.true%0A  %7D)%0A%0A  it('should render as many shows as there are data for', () =%3E %7B%0A    const wrapper = shallow(%3CSearch /%3E)%0A    expect(wrapper.find(ShowCard).length).to.equal(shows.length)%0A  %7D)%0A%0A  it('should filter correctly given new state', () =%3E %7B%0A    const wrapper = mount(%3CSearch /%3E)%0A    const input = wrapper.find('.search-input')%0A    input.node.value = 'house'%0A    input.simulate('change')%0A    expect(wrapper.state('searchTerm')).to.equal('house')%0A    expect(wrapper.find('.show-card').length).to.equal(2)
 %0A  %7D

Add actual test cases for the Search component