Files
talk/src/core/client/stream/components/PoweredBy.spec.tsx
T
2018-08-27 21:58:28 +02:00

15 lines
358 B
TypeScript

import { shallow } from "enzyme";
import React from "react";
import { PropTypesOf } from "talk-framework/types";
import PoweredBy from "./PoweredBy";
it("renders correctly", () => {
const props: PropTypesOf<typeof PoweredBy> = {
className: "custom",
};
const wrapper = shallow(<PoweredBy {...props} />);
expect(wrapper).toMatchSnapshot();
});