UNPKG

reactizzen

Version:

Creates single react component folder structure with multiple flags, upgraded version of not maintained anymore create-react-folder-component library.

11 lines (9 loc) 265 B
import React from "react"; import { shallow } from "enzyme"; import MyComponent from "./myComponent"; describe("MyComponent", () => { test("matches snapshot", () => { const wrapper = shallow(<MyComponent />); expect(wrapper).toMatchSnapshot(); }); });