src/app/components/Copyright/__snapshots__/index.test.tsx.snap

Summary

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

exports[`should render Copyright with news service context 1`] = `
.emotion-0 {
  color: #141414;
  font-size: 0.75rem;
  line-height: 1rem;
  font-family: ReithSans,Helvetica,Arial,sans-serif;
  font-style: normal;
  font-weight: 400;
  background-color: rgba(34, 34, 34, 0.75);
  text-transform: uppercase;
  color: #FFFFFF;
  padding: 0.25rem 0.5rem;
  position: absolute;
  bottom: 0;
  inset-inline-start: 0;
  margin: 0;
  font-family: ReithSans,Helvetica,Arial,sans-serif;
  overflow: hidden;
}

@media (min-width: 20rem) and (max-width: 37.4375rem) {
  .emotion-0 {
    font-size: 0.75rem;
    line-height: 1rem;
  }
}

@media (min-width: 37.5rem) {
  .emotion-0 {
    font-size: 0.75rem;
    line-height: 1rem;
  }
}

.emotion-0 span {
  font-size: 0.75rem;
}

.emotion-1 {
  -webkit-clip-path: inset(100%);
  clip-path: inset(100%);
  clip: rect(1px, 1px, 1px, 1px);
  height: 1px;
  overflow: hidden;
  position: absolute;
  width: 1px;
  margin: 0;
}

<div>
  <p
    class="emotion-0"
    role="text"
  >
    <span
      class="emotion-1"
    >
      Image source, 
    </span>
    This is some copyright text
  </p>
</div>
`;

exports[`should render Copyright with persian service context 1`] = `
.emotion-0 {
  color: #141414;
  font-size: 0.75rem;
  line-height: 1rem;
  font-family: ReithSans,Helvetica,Arial,sans-serif;
  font-style: normal;
  font-weight: 400;
  background-color: rgba(34, 34, 34, 0.75);
  text-transform: uppercase;
  color: #FFFFFF;
  padding: 0.25rem 0.5rem;
  position: absolute;
  bottom: 0;
  inset-inline-start: 0;
  margin: 0;
  font-family: ReithSans,Helvetica,Arial,sans-serif;
  overflow: hidden;
}

@media (min-width: 20rem) and (max-width: 37.4375rem) {
  .emotion-0 {
    font-size: 0.75rem;
    line-height: 1rem;
  }
}

@media (min-width: 37.5rem) {
  .emotion-0 {
    font-size: 0.75rem;
    line-height: 1rem;
  }
}

.emotion-0 span {
  font-size: 0.75rem;
}

.emotion-1 {
  -webkit-clip-path: inset(100%);
  clip-path: inset(100%);
  clip: rect(1px, 1px, 1px, 1px);
  height: 1px;
  overflow: hidden;
  position: absolute;
  width: 1px;
  margin: 0;
}

<div>
  <p
    class="emotion-0"
    role="text"
  >
    <span
      class="emotion-1"
    >
       ، منبع تصویر
    </span>
    <span
      lang="en-GB"
    >
      Getty Images
    </span>
  </p>
</div>
`;