import React from "react";
import { render } from "@testing-library/react";
import OAuth2Button from "../../components/OAuth2Button";
test("renders oauth2 sign in button text", () => {
const { getByText } = render();
const button = getByText(/Discord Login/i);
expect(button).toBeInTheDocument();
});
test("renders fontawesome discord icon", () => {
const { container } = render();
const icon = container.querySelector("[data-icon=\"discord\"]");
expect(icon).toBeInTheDocument();
});