Files
talk/src/core/client/stream/components/Username.spec.tsx
T

13 lines
270 B
TypeScript

import { shallow } from "enzyme";
import React from "react";
import Username from "./Username";
it("renders correctly", () => {
const props = {
children: "Marvin",
};
const wrapper = shallow(<Username {...props} />);
expect(wrapper).toMatchSnapshot();
});