{"size": 788, "ext": "js", "max_stars_repo_path": "src/Header.test.js", "max_stars_repo_name": "zulalnb/emoji-search-test", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "src/Header.test.js", "max_issues_repo_name": "zulalnb/emoji-search-test", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "src/Header.test.js", "max_forks_repo_name": "zulalnb/emoji-search-test", "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": 35.8181818182, "max_line_length": 89, "alphanum_fraction": 0.6180203046}
import React from "react";
import { render, screen } from "@testing-library/react";
import App from "./App";

// test("renders header component", () => {
//   render(<App />);
//   const title = screen.getByText(/Emoji Search/i);
//   const { image1, image2 } = screen.getAllByAltText("");
//   // expect(image1).toHaveAttribute(
//   //   "src",
//   //   "//cdn.jsdelivr.net/emojione/assets/png/1f638.png"
//   // );
//   // expect(image1.src).toContain("//cdn.jsdelivr.net/emojione/assets/png/1f638.png")
//   // expect(image).toHaveAttribute('alt', 'cat smiles teeth');

//   expect(title).toBeInTheDocument();
//   // expect(image1).toBeInTheDocument();

//   // let image=screen.getByAltText("cat smiles teeth");
//   // expect(image.toBeInTheDocument);
// });
