diff --git a/test/example.spec.tsx b/test/example.spec.tsx deleted file mode 100644 index 8f3bc4c..0000000 --- a/test/example.spec.tsx +++ /dev/null @@ -1,25 +0,0 @@ -import { mount, ReactWrapper } from "enzyme"; -import * as React from "react"; -import C from "./sample-components/basic"; - -describe("Component", () => { - let container: HTMLDivElement; - let wrapper: ReactWrapper; - - beforeEach(() => { - container = document.body.appendChild(document.createElement("div")); - }); - - afterEach(() => { - document.body.removeChild(container); - }); - - it("should render correctly", () => { - const rootRef = React.createRef(); - - rootRef.current && rootRef.current; - - wrapper = mount(, { attachTo: container }); - expect(wrapper.html()).toMatchSnapshot(); - }); -});