/* eslint-disable jsx-a11y/anchor-is-valid */
import React from "react";
import renderer from "react-test-renderer";
import Link from "../Link";
describe("Link renders correctly", () => {
it("with icon", () => {
const tree = renderer.create().toJSON();
expect(tree).toMatchSnapshot();
});
it("with right icon", () => {
const tree = renderer.create().toJSON();
expect(tree).toMatchSnapshot();
});
it("with id", () => {
const tree = renderer.create().toJSON();
expect(tree).toMatchSnapshot();
});
it("with className", () => {
const tree = renderer.create().toJSON();
expect(tree).toMatchSnapshot();
});
it("with text", () => {
const tree = renderer.create().toJSON();
expect(tree).toMatchSnapshot();
});
it("with ariaLabeledBy", () => {
const tree = renderer.create().toJSON();
expect(tree).toMatchSnapshot();
});
it("with ariaDescribedby", () => {
const tree = renderer.create().toJSON();
expect(tree).toMatchSnapshot();
});
it("with ariaLabelDescription", () => {
const tree = renderer.create().toJSON();
expect(tree).toMatchSnapshot();
});
});