kaoDev/react-ts-sample

View on GitHub
src/__tests__/containers/__snapshots__/App.test.tsx.snap

Summary

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

exports[`App should be rendered Snapshot test 1`] = `
.glamor-5,
[data-glamor-5] {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  flex-direction: column;
  height: 600px;
  width: 100%;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
}

.glamor-4,
[data-glamor-4] {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  height: 100%;
  flex-grow: 1;
  justify-content: space-around;
  -webkit-flex-grow: 1;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-around;
}

.glamor-1,
[data-glamor-1] {
  background: #fff;
  border-radius: 2px;
  display: inline-block;
  height: 100%;
  margin: 10px;
  position: relative;
  width: calc(50% - 10px);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.16), 0 3px 3px rgba(0, 0, 0, -0.76);
  padding: 8px;
  max-width: 800px;
  box-sizing: border-box;
}

.glamor-0,
[data-glamor-0] {
  max-height: 100%;
  height: 100%;
  width: 100%;
  font-family: Inconsolata, monospace;
  overflow: auto;
  line-height: 20px;
  display: block;
  border: 0;
  padding: 10px 5px;
  background: white no-repeat;
  box-sizing: border-box;
  background-image: -webkit-linear-gradient(to bottom, #1abc9c, #1abc9c), linear-gradient(to bottom, silver, silver);
  background-image: -moz-linear-gradient(to bottom, #1abc9c, #1abc9c), linear-gradient(to bottom, silver, silver);
  background-image: linear-gradient(to bottom, #1abc9c, #1abc9c), linear-gradient(to bottom, silver, silver);
  background-size: 0 2px, 100% 1px;
  background-position: 50% 100%, 50% 100%;
  transition: background-size 0.3s cubic-bezier(0.64, 0.09, 0.08, 1);
  -webkit-transition: background-size 0.3s cubic-bezier(0.64, 0.09, 0.08, 1);
  -moz-transition: background-size 0.3s cubic-bezier(0.64, 0.09, 0.08, 1);
}

.glamor-0:focus,
[data-glamor-0]:focus {
  background-size: 100% 2px, 100% 1px;
  outline: none;
}

.glamor-2,
[data-glamor-2] {
  color: rgba(30, 30, 30, 1);
  font-family: Lato, sans-serif;
}

<div
  className="glamor-5"
>
  <div
    className="glamor-4"
  >
    <div
      className="glamor-1"
    >
      <textarea
        className="glamor-0"
        onChange={[Function]}
        value=""
      />
    </div>
    <div
      className="glamor-1"
    >
      <div
        className="glamor-2"
        dangerouslySetInnerHTML={
          Object {
            "__html": "",
          }
        }
      />
    </div>
  </div>
</div>
`;