summaryrefslogtreecommitdiffstats
path: root/frontend/__tests__/__snapshots__/TakeMyMoney.test.js.snap
blob: 00863d331e15206ed11c90e63932e31db77a6827 (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
59
60
61
62
63
64
65
66
67
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`<TakeMyMoney /> renders 1`] = `
<ReactStripeCheckout
  ComponentClass="span"
  amount={15000}
  className="StripeCheckout"
  currency="USD"
  description="Order of 3 Items From Sick Fits"
  email="Delmer.Smith@yahoo.com"
  image="dog-small.jpg"
  label="Pay With Card"
  locale="auto"
  name="Sick Fits Haul"
  reconfigureOnUpdate={false}
  stripeKey="pk_lclTtThFp8CnO3QtEZSd8HA9mFUps"
  token={[Function]}
  triggerEvent="onClick"
>
  <button
    className="StripeCheckout"
    onBlur={[Function]}
    onClick={[Function]}
    onFocus={[Function]}
    onMouseDown={[Function]}
    onMouseOut={[Function]}
    onMouseUp={[Function]}
    style={
      Object {
        "background": "linear-gradient(#28a0e5,#015e94)",
        "border": 0,
        "borderRadius": 5,
        "boxShadow": "0 1px 0 rgba(0,0,0,0.2)",
        "cursor": "pointer",
        "display": "inline-block",
        "overflow": "hidden",
        "padding": 1,
        "textDecoration": "none",
        "userSelect": "none",
        "visibility": "visible",
      }
    }
  >
    <span
      style={
        Object {
          "backgroundImage": "linear-gradient(#7dc5ee,#008cdd 85%,#30a2e4)",
          "borderRadius": 4,
          "boxShadow": "inset 0 1px 0 rgba(255,255,255,0.25)",
          "color": "#fff",
          "display": "block",
          "fontFamily": "\\"Helvetica Neue\\",Helvetica,Arial,sans-serif",
          "fontSize": 14,
          "fontWeight": "bold",
          "height": 30,
          "lineHeight": "30px",
          "padding": "0 12px",
          "position": "relative",
          "textShadow": "0 -1px 0 rgba(0,0,0,0.25)",
        }
      }
    >
      Pay With Card
    </span>
  </button>
</ReactStripeCheckout>
`;