{"size": 549, "ext": "js", "max_stars_repo_path": "client/components/CheckoutPage.spec.js", "max_stars_repo_name": "interactivenyc/FS.CodingBooks", "max_stars_repo_stars_event_min_datetime": "2019-01-22T20:53:37.000Z", "max_stars_repo_stars_event_max_datetime": "2019-01-22T20:53:37.000Z", "max_issues_repo_path": "client/components/CheckoutPage.spec.js", "max_issues_repo_name": "interactivenyc/FS.CodingBooks", "max_issues_repo_issues_event_min_datetime": "2018-10-29T20:30:30.000Z", "max_issues_repo_issues_event_max_datetime": "2018-11-02T13:49:33.000Z", "max_forks_repo_path": "client/components/CheckoutPage.spec.js", "max_forks_repo_name": "interactivenyc/FS.CodingBooks", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": 1, "max_issues_count": 47, "max_forks_count": null, "avg_line_length": 28.8947368421, "max_line_length": 71, "alphanum_fraction": 0.7213114754}
/* global describe beforeEach it */

import {expect} from 'chai'
import React from 'react'
import enzyme, {shallow} from 'enzyme'
import Adapter from 'enzyme-adapter-react-16'
import ConnectedProductList from '../components/ProductList'
import store from '../store'

const adapter = new Adapter()
enzyme.configure({adapter})

describe('<ConnectedProductList /> component', () => {
  it('renders the corrent number of products', () => {
    const productList = shallow(<ConnectedProductList store={store} />)
    expect(productList).to.exist
  })
})
