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

exports[`<EditUser/> asks you to log in when you arent logged in 1`] = `
<p>
  You must be logged in
</p>
`;

exports[`<EditUser/> renders 1`] = `
<Form
  onSubmit={[Function]}
>
  <form
    className="sc-bdVaJa LHejR"
    onSubmit={[Function]}
  >
    <DisplayError />
    <fieldset
      aria-busy={false}
      disabled={false}
    >
      <label
        htmlFor="name"
      >
        Name:
        <input
          defaultValue="Miss Tillman Mitchell"
          name="name"
          onChange={[Function]}
          type="text"
        />
      </label>
      <button
        type="submit"
      >
        Update
      </button>
      <strong>
        me:
      </strong>
      <pre>
        "Miss Tillman Mitchell"
      </pre>
      <strong>
        Change:
      </strong>
      <pre
        data-test="change"
      >
        {}
      </pre>
    </fieldset>
  </form>
</Form>
`;