{"size": 357, "ext": "js", "max_stars_repo_path": "src/js/components/sections/__tests__/Work.test.js", "max_stars_repo_name": "Sabrinale/grommet-resume", "max_stars_repo_stars_event_min_datetime": "2019-02-28T19:38:06.000Z", "max_stars_repo_stars_event_max_datetime": "2019-02-28T19:38:06.000Z", "max_issues_repo_path": "src/js/components/sections/__tests__/Work.test.js", "max_issues_repo_name": "Sabrinale/grommet-resume", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "src/js/components/sections/__tests__/Work.test.js", "max_forks_repo_name": "Sabrinale/grommet-resume", "max_forks_repo_forks_event_min_datetime": "2019-02-24T07:07:42.000Z", "max_forks_repo_forks_event_max_datetime": "2019-02-24T07:07:42.000Z"}
{"max_stars_count": 1, "max_issues_count": null, "max_forks_count": 1, "avg_line_length": 25.5, "max_line_length": 61, "alphanum_fraction": 0.7114845938}
import React from 'react'
import renderer from 'react-test-renderer'

import { WorkItem } from '../Work'

import defaultResume from './mockResume.json'

test('renders work section', () => {
  const data = defaultResume.work[0]
  const component = renderer.create(<WorkItem item={data} />)
  let tree = component.toJSON()
  expect(tree).toMatchSnapshot()
})
