summaryrefslogtreecommitdiffstats
path: root/frontend/__tests__/__snapshots__/Item.test.js.snap
blob: 930c7a9f6233e4eda1c5d1effc830e6c70701b10 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`<Item/> Renders and matches snapshot 1`] = `
<styled.div
  key="ABC123"
>
  <img
    alt="A Cool Item"
    src="dog.jpg"
  />
  <styled.h3>
    <Link
      href={
        Object {
          "pathname": "/item",
          "query": Object {
            "id": "ABC123",
          },
        }
      }
    >
      <a>
        A Cool Item
      </a>
    </Link>
  </styled.h3>
  <styled.span>
    $50
  </styled.span>
  <p>
    This item is really cool!
  </p>
  <div
    className="buttonList"
  >
    <Link
      href={
        Object {
          "pathname": "/update",
          "query": Object {
            "id": "ABC123",
          },
        }
      }
    >
      <a>
        Edit ✏️
      </a>
    </Link>
    <AddToCart
      id="ABC123"
    />
    <DeleteItem
      id="ABC123"
    />
  </div>
</styled.div>
`;