import React from "react";
import renderer from "react-test-renderer";
import HiddenText from "../HiddenText";
it("renders correctly with empty props", () => {
const tree = renderer.create().toJSON();
expect(tree).toMatchSnapshot();
});
// This test currently fails due to an apparent jest bug.
// it("Doesn't show the text", () => {
// const { getByText } = render();
// const element = getByText("Example");
// expect(element).not.toBeVisible();
// });