summaryrefslogtreecommitdiffstats
path: root/frontend/__tests__/__snapshots__/ResetRequest.test.js.snap
blob: 6afa68cb44653097ece70af92f8d7b92c99c14f7 (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
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`<ResetRequest/> renders and matches snapshot 1`] = `
<form
  className="sc-bdVaJa LHejR"
  data-test="ResetRequest"
  onSubmit={[Function]}
>
  <DisplayError />
  <fieldset
    aria-busy={false}
    disabled={false}
  >
    <label
      htmlFor="email"
    >
      Email
      <input
        name="email"
        onChange={[Function]}
        placeholder="email"
        type="text"
        value=""
      />
    </label>
    <button
      type="submit"
    >
      Request Reset!
    </button>
  </fieldset>
</form>
`;

exports[`<ResetRequest/> renders errors 1`] = `
<DisplayError
  error={
    Object {
      "message": "Shit!",
    }
  }
>
  <styled.div>
    <div
      className="sc-bwzfXH flKeYn"
    >
      <p>
        <strong>
          Shoot!
        </strong>
        Shit!
        <button>
          Try Again
        </button>
      </p>
    </div>
  </styled.div>
</DisplayError>
`;