__tests__/components/__snapshots__/Layout.spec.js.snap

Summary

Maintainability
Test Coverage
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`COMPONENTS - <Layout> render Layout when logged in 1`] = `
<ThemeProvider
  theme={
    Object {
      "ligten": [Function],
      "theme": Object {
        "baseAppColor": "#3F84A8",
        "bg": "#ebf2f6",
        "borderColor": "#ccc",
        "boxShadow": "#555",
        "colorDanger": "tomato",
        "colorSuccess": "cadetblue",
        "colorWarning": "#e0b01e",
        "disabledColor": "#ccc",
        "headerBgLightest": "#cfe0e9",
        "headerColor": "#fff",
        "lightBorderColor": "#f2f2f2",
        "lightText": "#fff",
        "textColor": "#555",
      },
      "tintBackground": [Function],
      "tintHeaderBgLightest": [Function],
    }
  }
>
  <withRouter(App)>
    <Connect(LogIn) />
    <ToastContainer
      autoClose={8000}
      bodyClassName={null}
      className={null}
      closeButton={<CloseButton />}
      closeOnClick={true}
      draggable={true}
      draggablePercent={80}
      hideProgressBar={false}
      newestOnTop={false}
      pauseOnFocusLoss={true}
      pauseOnHover={true}
      position="top-center"
      progressClassName={null}
      progressStyle={null}
      role="alert"
      rtl={false}
      style={null}
      toastClassName={null}
      transition={[Function]}
    />
  </withRouter(App)>
</ThemeProvider>
`;

exports[`COMPONENTS - <Layout> render Layout when not logged in 1`] = `
<ThemeProvider
  theme={
    Object {
      "ligten": [Function],
      "theme": Object {
        "baseAppColor": "#3F84A8",
        "bg": "#ebf2f6",
        "borderColor": "#ccc",
        "boxShadow": "#555",
        "colorDanger": "tomato",
        "colorSuccess": "cadetblue",
        "colorWarning": "#e0b01e",
        "disabledColor": "#ccc",
        "headerBgLightest": "#cfe0e9",
        "headerColor": "#fff",
        "lightBorderColor": "#f2f2f2",
        "lightText": "#fff",
        "textColor": "#555",
      },
      "tintBackground": [Function],
      "tintHeaderBgLightest": [Function],
    }
  }
>
  <withRouter(App)>
    <Connect(LogIn) />
    <ToastContainer
      autoClose={8000}
      bodyClassName={null}
      className={null}
      closeButton={<CloseButton />}
      closeOnClick={true}
      draggable={true}
      draggablePercent={80}
      hideProgressBar={false}
      newestOnTop={false}
      pauseOnFocusLoss={true}
      pauseOnHover={true}
      position="top-center"
      progressClassName={null}
      progressStyle={null}
      role="alert"
      rtl={false}
      style={null}
      toastClassName={null}
      transition={[Function]}
    />
  </withRouter(App)>
</ThemeProvider>
`;