From 5381b75a490376e893484eb20ec36e9f7942fe37 Mon Sep 17 00:00:00 2001 From: Chi Vinh Le Date: Mon, 27 Aug 2018 20:50:46 +0200 Subject: [PATCH] Update snapshots --- .../__snapshots__/TopBar.spec.tsx.snap | 20 +--- .../__snapshots__/ReplyList.spec.tsx.snap | 18 +-- .../__snapshots__/Stream.spec.tsx.snap | 108 ++++++++---------- .../UserBoxUnauthenticated.spec.tsx.snap | 5 +- .../UserBoxContainer.spec.tsx.snap | 2 +- .../__snapshots__/initLocalState.spec.ts.snap | 1 + .../client/ui/components/Flex/Flex.spec.tsx | 2 +- .../Flex/__snapshots__/Flex.spec.tsx.snap | 60 ++++------ .../__snapshots__/FormField.spec.tsx.snap | 4 +- 9 files changed, 90 insertions(+), 130 deletions(-) diff --git a/src/core/client/stream/components/Comment/__snapshots__/TopBar.spec.tsx.snap b/src/core/client/stream/components/Comment/__snapshots__/TopBar.spec.tsx.snap index 2e6694137..9ce1f79c5 100644 --- a/src/core/client/stream/components/Comment/__snapshots__/TopBar.spec.tsx.snap +++ b/src/core/client/stream/components/Comment/__snapshots__/TopBar.spec.tsx.snap @@ -2,28 +2,20 @@ exports[`renders correctly on big screens 1`] = `
-
-
- Hello World -
+
+ Hello World
`; exports[`renders correctly on small screens 1`] = `
-
-
- Hello World -
+
+ Hello World
`; diff --git a/src/core/client/stream/components/__snapshots__/ReplyList.spec.tsx.snap b/src/core/client/stream/components/__snapshots__/ReplyList.spec.tsx.snap index 3ff2461f0..8e8929149 100644 --- a/src/core/client/stream/components/__snapshots__/ReplyList.spec.tsx.snap +++ b/src/core/client/stream/components/__snapshots__/ReplyList.spec.tsx.snap @@ -2,10 +2,8 @@ exports[`renders correctly 1`] = ` - - + `; exports[`when there is more disables load more button 1`] = ` - - + `; exports[`when there is more renders a load more button 1`] = ` - - + `; diff --git a/src/core/client/stream/components/__snapshots__/Stream.spec.tsx.snap b/src/core/client/stream/components/__snapshots__/Stream.spec.tsx.snap index 01026fb09..c7b0d358f 100644 --- a/src/core/client/stream/components/__snapshots__/Stream.spec.tsx.snap +++ b/src/core/client/stream/components/__snapshots__/Stream.spec.tsx.snap @@ -1,26 +1,22 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP exports[`renders correctly 1`] = ` - - - - + + + + - - - + - - - + + + `; exports[`when there is more disables load more button 1`] = ` - - - - + + + + - - - + - + @@ -134,31 +122,27 @@ exports[`when there is more disables load more button 1`] = ` Load More - - + + `; exports[`when there is more renders a load more button 1`] = ` - - - - + + + + - - - + - + @@ -210,6 +192,6 @@ exports[`when there is more renders a load more button 1`] = ` Load More - - + + `; diff --git a/src/core/client/stream/components/__snapshots__/UserBoxUnauthenticated.spec.tsx.snap b/src/core/client/stream/components/__snapshots__/UserBoxUnauthenticated.spec.tsx.snap index 2021b7c31..492657d72 100644 --- a/src/core/client/stream/components/__snapshots__/UserBoxUnauthenticated.spec.tsx.snap +++ b/src/core/client/stream/components/__snapshots__/UserBoxUnauthenticated.spec.tsx.snap @@ -2,6 +2,7 @@ exports[`renders correctly 1`] = ` Join the conversation | diff --git a/src/core/client/stream/containers/__snapshots__/UserBoxContainer.spec.tsx.snap b/src/core/client/stream/containers/__snapshots__/UserBoxContainer.spec.tsx.snap index 80834ae74..3c650a5af 100644 --- a/src/core/client/stream/containers/__snapshots__/UserBoxContainer.spec.tsx.snap +++ b/src/core/client/stream/containers/__snapshots__/UserBoxContainer.spec.tsx.snap @@ -3,7 +3,7 @@ exports[`renders correctly 1`] = ` { expect(renderer.toJSON()).toMatchSnapshot(); }); -it("renders with halfe item gutter", () => { +it("renders with half item gutter", () => { const props: PropTypesOf = { itemGutter: "half", }; diff --git a/src/core/client/ui/components/Flex/__snapshots__/Flex.spec.tsx.snap b/src/core/client/ui/components/Flex/__snapshots__/Flex.spec.tsx.snap index d96f60ebd..b4b24209e 100644 --- a/src/core/client/ui/components/Flex/__snapshots__/Flex.spec.tsx.snap +++ b/src/core/client/ui/components/Flex/__snapshots__/Flex.spec.tsx.snap @@ -2,70 +2,60 @@ exports[`renders correctly 1`] = `
-
-
- Hello World -
+
+ Hello World +
+
+`; + +exports[`renders with half item gutter 1`] = ` +
+
+ Hello World
`; exports[`renders with halfe item gutter 1`] = `
-
-
- Hello World -
+
+ Hello World
`; exports[`renders with item gutter 1`] = `
-
-
- Hello World -
+
+ Hello World
`; exports[`renders with wrap 1`] = `
-
-
- Hello World -
+
+ Hello World
`; exports[`renders with wrap reverse 1`] = `
-
-
- Hello World -
+
+ Hello World
`; diff --git a/src/core/client/ui/components/FormField/__snapshots__/FormField.spec.tsx.snap b/src/core/client/ui/components/FormField/__snapshots__/FormField.spec.tsx.snap index ddbd6c222..874adc015 100644 --- a/src/core/client/ui/components/FormField/__snapshots__/FormField.spec.tsx.snap +++ b/src/core/client/ui/components/FormField/__snapshots__/FormField.spec.tsx.snap @@ -2,7 +2,7 @@ exports[`renders correctly 1`] = `
Form Components should go here
@@ -10,7 +10,7 @@ exports[`renders correctly 1`] = ` exports[`works with multiple form components 1`] = `