import React from "react";
import "@testing-library/jest-dom/extend-expect";
import { render } from "@testing-library/react";
import { NewestIcon } from "..";

describe("<NewestIcon /> test case", () => {
  test("test id is in the document", () => {
    const { getByTestId } = render(<NewestIcon />);
    expect(getByTestId("newestIcon")).toBeInTheDocument();
  });
});
