Files
talk/src/core/client/stream/components/App.spec.tsx
T
2018-09-13 18:29:22 +02:00

15 lines
335 B
TypeScript

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