labhackercd/linguagem-simples-front

View on GitHub
src/components/Dashboard/Content/__snapshots__/index.test.js.snap

Summary

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

exports[`should render the content section 1`] = `
<WithStyles(ForwardRef(Grid))
  className="makeStyles-body-1"
  container={true}
  spacing={2}
>
  <WithStyles(ForwardRef(Grid))
    className="makeStyles-menu-2"
    item={true}
    md={3}
  >
    <WithStyles(ForwardRef(Tabs))
      classes={
        Object {
          "indicator": "makeStyles-bigIndicator-5",
          "labelContainer": undefined,
          "root": "makeStyles-tab-3",
          "selected": undefined,
        }
      }
      onChange={[Function]}
      orientation="vertical"
      value={0}
      variant="standard"
    >
      <WithStyles(ForwardRef(Tab))
        classes={
          Object {
            "root": "makeStyles-tab-3",
          }
        }
        id="savedContentTab"
        key="0"
        label={
          <TabLabel
            tabIcon={<UNDEFINED />}
            tabText="Conteúdos Salvos"
            tabValue={0}
          />
        }
      />
      <WithStyles(ForwardRef(Tab))
        classes={
          Object {
            "root": "makeStyles-tab-3",
          }
        }
        id="agenciaCamaraContentTab"
        key="1"
        label={
          <TabLabel
            tabIcon={<UNDEFINED />}
            tabText="Agência Câmara"
            tabValue={1}
          />
        }
      />
      <WithStyles(ForwardRef(Tab))
        classes={
          Object {
            "root": "makeStyles-tab-3",
          }
        }
        id="tvCamaraContentTab"
        key="2"
        label={
          <TabLabel
            tabIcon={<UNDEFINED />}
            tabText="TV Câmara"
            tabValue={2}
          />
        }
      />
      <WithStyles(ForwardRef(Tab))
        classes={
          Object {
            "root": "makeStyles-tab-3",
          }
        }
        id="radioCamaraContentTab"
        key="3"
        label={
          <TabLabel
            tabIcon={<UNDEFINED />}
            tabText="Rádio Câmara"
            tabValue={3}
          />
        }
      />
      <WithStyles(ForwardRef(Tab))
        classes={
          Object {
            "root": "makeStyles-tab-3",
          }
        }
        id="twitterContentTab"
        key="4"
        label={
          <TabLabel
            tabIcon={<UNDEFINED />}
            tabText="Twitter"
            tabValue={4}
          />
        }
      />
      <WithStyles(ForwardRef(Tab))
        classes={
          Object {
            "root": "makeStyles-tab-3",
          }
        }
        id="glossarioContentTab"
        key="5"
        label={
          <TabLabel
            tabIcon={
              <ForwardRef(WithStyles)
                component={
                  Object {
                    "$$typeof": Symbol(react.forward_ref),
                    "render": [Function],
                  }
                }
                fontSize="large"
                style={
                  Object {
                    "alignItems": "center",
                    "display": "flex",
                    "marginLeft": "10px",
                    "marginTop": "7px",
                  }
                }
              />
            }
            tabText="Glossário"
            tabValue={5}
          />
        }
      />
    </WithStyles(ForwardRef(Tabs))>
  </WithStyles(ForwardRef(Grid))>
  <WithStyles(ForwardRef(Grid))
    item={true}
    md={9}
  >
    <TabPanel
      index={0}
      value={0}
    >
      <SavedContent />
    </TabPanel>
    <TabPanel
      index={1}
      style={
        Object {
          "paddingTop": 0,
        }
      }
      value={0}
    >
      <AgenciaCamaraContent />
    </TabPanel>
    <TabPanel
      index={2}
      value={0}
    >
      <TvCamaraContent />
    </TabPanel>
    <TabPanel
      index={3}
      value={0}
    >
      <RadioCamaraContent />
    </TabPanel>
    <TabPanel
      index={4}
      value={0}
    >
      <TwitterDeputadosContent />
    </TabPanel>
    <TabPanel
      index={5}
      value={0}
    >
      <GlossarioContent />
    </TabPanel>
  </WithStyles(ForwardRef(Grid))>
</WithStyles(ForwardRef(Grid))>
`;

exports[`should render the external content section 1`] = `
<Content
  classes={
    Object {
      "body": "Content-body-8",
      "card": "Content-card-15",
      "cardPlenary": "Content-cardPlenary-17",
      "cardVideo": "Content-cardVideo-16",
      "column": "Content-column-13",
      "firstRow": "Content-firstRow-14",
      "header": "Content-header-9",
      "headerMenu": "Content-headerMenu-11",
      "headerMenuItem": "Content-headerMenuItem-12",
      "headerTitle": "Content-headerTitle-10",
      "secondRow": "Content-secondRow-18",
      "thirdRow": "Content-thirdRow-19",
      "videoWrapper": "Content-videoWrapper-20",
    }
  }
  sessionId={1}
  sessionInfo={
    Object {
      "author": Object {
        "email": "a@a.com",
        "first_name": "",
        "id": 1,
        "is_superuser": true,
        "last_name": "",
        "profile": "editor",
      },
      "date": "2020-09-01",
      "enable": true,
      "id": 1,
      "id_session_dados_abertos": "59895",
      "location": "plenary",
      "resume": "Resumo",
      "situation_session": "pre_session",
      "type_session": "virtual",
    }
  }
/>
`;