import React from "react";
import renderer from "react-test-renderer";
import Clickable from "../Clickable";
it("renders correctly with empty props", () => {
const tree = renderer.create().toJSON();
expect(tree).toMatchSnapshot();
});
it("renders correctly with props", () => {
const tree = renderer
.create(
console.log("test")}
className="monday-style_tests-class"
role="banner"
enableTextSelection
>
Children text
)
.toJSON();
expect(tree).toMatchSnapshot();
});