Skip to content

Commit

Permalink
Upgrade snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
drublic committed May 25, 2020
1 parent 415eca9 commit c9d6fb2
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 9 deletions.
2 changes: 1 addition & 1 deletion src/BackButton/__snapshots__/BackButton.test.tsx.snap
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`Back Button renders correctly 1`] = `
<withRouter(WithBackButton)
<BackButton
url="/"
/>
`;
40 changes: 32 additions & 8 deletions src/Form/__tests__/__snapshots__/Form.test.tsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ exports[`renders correctly 1`] = `
"entries": Array [
Object {
"hash": "",
"key": "a486xk",
"key": "bbaqvf",
"pathname": "/",
"search": "",
"state": undefined,
Expand All @@ -25,7 +25,7 @@ exports[`renders correctly 1`] = `
"listen": [Function],
"location": Object {
"hash": "",
"key": "a486xk",
"key": "bbaqvf",
"pathname": "/",
"search": "",
"state": undefined,
Expand Down Expand Up @@ -58,7 +58,19 @@ exports[`renders correctly 1`] = `
"width": "small",
},
Object {
"id": "select",
"id": "select.first",
"isRequired": true,
"options": Array [
"Foo",
"Bar",
"Baz",
],
"title": "Select",
"type": "select",
"width": "small",
},
Object {
"id": "select.second",
"isRequired": true,
"options": Array [
"Foo",
Expand Down Expand Up @@ -117,8 +129,8 @@ exports[`renders correctly 1`] = `
"type": "content",
},
Object {
"beforeSubmit": [Function],
"id": "email",
"onBeforeSubmit": [Function],
"title": "Email",
"type": "email",
"width": "mid",
Expand Down Expand Up @@ -264,7 +276,7 @@ exports[`renders correctly with content 1`] = `
"entries": Array [
Object {
"hash": "",
"key": "gryehk",
"key": "vozkoo",
"pathname": "/",
"search": "",
"state": undefined,
Expand All @@ -278,7 +290,7 @@ exports[`renders correctly with content 1`] = `
"listen": [Function],
"location": Object {
"hash": "",
"key": "gryehk",
"key": "vozkoo",
"pathname": "/",
"search": "",
"state": undefined,
Expand Down Expand Up @@ -311,7 +323,19 @@ exports[`renders correctly with content 1`] = `
"width": "small",
},
Object {
"id": "select",
"id": "select.first",
"isRequired": true,
"options": Array [
"Foo",
"Bar",
"Baz",
],
"title": "Select",
"type": "select",
"width": "small",
},
Object {
"id": "select.second",
"isRequired": true,
"options": Array [
"Foo",
Expand Down Expand Up @@ -370,8 +394,8 @@ exports[`renders correctly with content 1`] = `
"type": "content",
},
Object {
"beforeSubmit": [Function],
"id": "email",
"onBeforeSubmit": [Function],
"title": "Email",
"type": "email",
"width": "mid",
Expand Down
2 changes: 2 additions & 0 deletions src/Form/__tests__/__snapshots__/FormFieldInput.test.tsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ exports[`renders correctly 1`] = `
id=""
margin="normal"
multiline={false}
onChange={[Function]}
required={false}
rows={1}
select={false}
Expand All @@ -33,6 +34,7 @@ exports[`renders disabled 1`] = `
id=""
margin="normal"
multiline={false}
onChange={[Function]}
required={false}
rows={1}
select={false}
Expand Down

0 comments on commit c9d6fb2

Please sign in to comment.