summaryrefslogtreecommitdiffstats
path: root/frontend/__tests__/__snapshots__/EditUser.test.js.snap
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/__tests__/__snapshots__/EditUser.test.js.snap')
-rw-r--r--frontend/__tests__/__snapshots__/EditUser.test.js.snap84
1 files changed, 37 insertions, 47 deletions
diff --git a/frontend/__tests__/__snapshots__/EditUser.test.js.snap b/frontend/__tests__/__snapshots__/EditUser.test.js.snap
index 1de9aef..8a39758 100644
--- a/frontend/__tests__/__snapshots__/EditUser.test.js.snap
+++ b/frontend/__tests__/__snapshots__/EditUser.test.js.snap
@@ -1,55 +1,45 @@
// 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
+<form
+ className="sc-bdVaJa LHejR"
onSubmit={[Function]}
>
- <form
- className="sc-bdVaJa LHejR"
- onSubmit={[Function]}
+ <DisplayError />
+ <fieldset
+ aria-busy={false}
+ disabled={false}
>
- <DisplayError />
- <fieldset
- aria-busy={false}
- disabled={false}
+ <label
+ htmlFor="name"
+ >
+ Name:
+ <input
+ defaultValue="Miss Coleman Berge"
+ name="name"
+ onChange={[Function]}
+ type="text"
+ />
+ </label>
+ <button
+ type="submit"
+ >
+ Update
+ </button>
+ <strong>
+ me:
+ </strong>
+ <pre>
+ "Miss Coleman Berge"
+ </pre>
+ <strong>
+ Change:
+ </strong>
+ <pre
+ data-test="change"
>
- <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>
+ {}
+ </pre>
+ </fieldset>
+</form>
`;