main

mattermost/focalboard

Last updated at: 28/12/2023 01:41

cardBadges.test.tsx.snap

TLDR

The provided file, cardBadges.test.tsx.snap, contains Jest snapshots for the cardBadges component. The snapshots are used to compare the rendered output of the component with the previously saved output to ensure that the component is rendering correctly.

Methods

None

Classes

None

// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`components/cardBadges should match snapshot 1`] = `
<div>
  <div
    class="CardBadges "
  >
    <span
      title="This card has a description"
    >
      <svg
        class="TextIcon Icon"
        viewBox="0 0 448 512"
        xmlns="http://www.w3.org/2000/svg"
      >
        <path
          d="M432 416H16a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16h416a16 16 0 0 0 16-16v-32a16 16 0 0 0-16-16zm0-128H16a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16h416a16 16 0 0 0 16-16v-32a16 16 0 0 0-16-16zm0-128H16a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16h416a16 16 0 0 0 16-16v-32a16 16 0 0 0-16-16zm0-128H16A16 16 0 0 0 0 48v32a16 16 0 0 0 16 16h416a16 16 0 0 0 16-16V48a16 16 0 0 0-16-16z"
        />
      </svg>
    </span>
    <span
      title="Comments"
    >
      <i
        class="CompassIcon icon-message-text-outline MessageIcon"
      />
      3
    </span>
    <span
      title="Checkboxes"
    >
      <svg
        class="CheckIcon Icon"
        viewBox="0 0 100 100"
        xmlns="http://www.w3.org/2000/svg"
      >
        <polyline
          points="20,60 40,80 80,40"
        />
      </svg>
      3/7
    </span>
  </div>
</div>
`;

exports[`components/cardBadges should match snapshot for empty card 1`] = `<div />`;