{"size": 285, "ext": "js", "max_stars_repo_path": "src/component/Nav.test.js", "max_stars_repo_name": "Note-Goat/frontend", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "src/component/Nav.test.js", "max_issues_repo_name": "Note-Goat/frontend", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "src/component/Nav.test.js", "max_forks_repo_name": "Note-Goat/frontend", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 25.9090909091, "max_line_length": 49, "alphanum_fraction": 0.6807017544}
import renderer from 'react-test-renderer';
import Nav from "./Nav";
import AppContainer from "../test/AppContainer";

test('Nav component snapshot', () => {
  const tree = renderer
    .create(<AppContainer><Nav /></AppContainer>)
    .toJSON();
  expect(tree).toMatchSnapshot();
});
