Updated Snapshots

This commit is contained in:
Belén Curcio
2018-10-01 15:52:14 -03:00
parent ede3951309
commit 52b35c53ab
2 changed files with 3 additions and 37 deletions
@@ -1,14 +1,9 @@
import { shallow } from "enzyme";
import React from "react";
import { PropTypesOf } from "talk-framework/types";
import App from "./App";
import AppContainer from "../containers/AppContainer";
it("renders comments", () => {
const props: PropTypesOf<typeof App> = {
activeTab: "COMMENTS",
};
const wrapper = shallow(<App {...props} />);
const wrapper = shallow(<AppContainer />);
expect(wrapper).toMatchSnapshot();
});
@@ -1,32 +1,3 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`renders comments 1`] = `
<withPropsOnChange(HorizontalGutter)
className="App-root"
>
<withPropsOnChange(TabBar)
activeTab="COMMENTS"
onTabClick={[Function]}
>
<withPropsOnChange(Tab)
tabId="COMMENTS"
>
Comments
</withPropsOnChange(Tab)>
</withPropsOnChange(TabBar)>
<TabContent
activeTab="COMMENTS"
>
<TabPane
tabId="COMMENTS"
>
<withContext(withLocalStateContainer(CommentsPaneContainer)) />
</TabPane>
<TabPane
tabId="PROFILE"
>
<ProfileQuery />
</TabPane>
</TabContent>
</withPropsOnChange(HorizontalGutter)>
`;
exports[`renders comments 1`] = `<Consumer />`;