{"size": 423, "ext": "js", "max_stars_repo_path": "__tests__/moonPhaseImage.test.js", "max_stars_repo_name": "MitchellDill/moonar", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "__tests__/moonPhaseImage.test.js", "max_issues_repo_name": "MitchellDill/moonar", "max_issues_repo_issues_event_min_datetime": "2019-09-15T16:19:33.000Z", "max_issues_repo_issues_event_max_datetime": "2022-01-22T09:34:51.000Z", "max_forks_repo_path": "__tests__/moonPhaseImage.test.js", "max_forks_repo_name": "MitchellDill/moonar", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": 49, "max_forks_count": null, "avg_line_length": 30.2142857143, "max_line_length": 65, "alphanum_fraction": 0.6548463357}
import React from "react";
import { shallow, mount } from "enzyme";
import MoonPhaseImage from "../client/components/moonPhaseImage";

describe("MoonPhaseImage component", () => {
  test("should shallow render without throwing an error", () => {
    expect(shallow(<MoonPhaseImage phase={"new"} />));
  });

  test("should mount in a full DOM render", () => {
    expect(mount(<MoonPhaseImage phase={"new"} />));
  });
});
