{"size": 381, "ext": "js", "max_stars_repo_path": "client/js/tests/setupTest.js", "max_stars_repo_name": "FredDominant/more-recipe", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "client/js/tests/setupTest.js", "max_issues_repo_name": "FredDominant/more-recipe", "max_issues_repo_issues_event_min_datetime": "2017-10-15T15:06:04.000Z", "max_issues_repo_issues_event_max_datetime": "2018-02-14T12:27:03.000Z", "max_forks_repo_path": "client/js/tests/setupTest.js", "max_forks_repo_name": "FredDominant/more-recipe", "max_forks_repo_forks_event_min_datetime": "2017-11-11T07:01:23.000Z", "max_forks_repo_forks_event_max_datetime": "2018-07-31T21:27:23.000Z"}
{"max_stars_count": null, "max_issues_count": 13, "max_forks_count": 4, "avg_line_length": 21.1666666667, "max_line_length": 51, "alphanum_fraction": 0.5958005249}
import { configure, shallow, mount } from 'enzyme';
import Adapter from 'enzyme-adapter-react-16';

configure({ adapter: new Adapter() });

global.shallow = shallow;
global.mount = mount;
global.$ = () => ({
  removeClass: () => {},
  click: () => {},
  hide: () => {},
  show: () => {}
});
global.document = document;
console.error = (message) => {
  throw new Error(message);
};
