Skip to content

Commit

Permalink
Update for snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
drublic committed Nov 30, 2020
1 parent cb50cc7 commit 1b11d14
Show file tree
Hide file tree
Showing 11 changed files with 32 additions and 58 deletions.
12 changes: 0 additions & 12 deletions src/AddButton/__snapshots__/AddButton.test.tsx.snap

This file was deleted.

12 changes: 12 additions & 0 deletions src/AddButton/__snapshots__/index.test.tsx.snap
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`renders correctly 1`] = `
<WithStyles(ForwardRef(Fab))
aria-label="add"
className="makeStyles-button-1"
color="secondary"
onClick={[Function]}
>
<AddIcon />
</WithStyles(ForwardRef(Fab))>
`;
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,11 @@ exports[`Base renders correctly 1`] = `
"type": "link",
"url": "/dialog",
},
Object {
"title": "Tabs",
"type": "link",
"url": "/tabs",
},
],
"title": "Components",
"type": "label",
Expand Down Expand Up @@ -113,6 +118,11 @@ exports[`Base renders correctly without header 1`] = `
"type": "link",
"url": "/dialog",
},
Object {
"title": "Tabs",
"type": "link",
"url": "/tabs",
},
],
"title": "Components",
"type": "label",
Expand Down Expand Up @@ -185,6 +195,11 @@ exports[`Base renders with drawer open 1`] = `
"type": "link",
"url": "/dialog",
},
Object {
"title": "Tabs",
"type": "link",
"url": "/tabs",
},
],
"title": "Components",
"type": "label",
Expand Down
41 changes: 0 additions & 41 deletions src/Drawer/__snapshots__/Drawer.test.tsx.snap

This file was deleted.

8 changes: 4 additions & 4 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": "lonc7p",
"key": "2rl5qm",
"pathname": "/",
"search": "",
"state": undefined,
Expand All @@ -25,7 +25,7 @@ exports[`renders correctly 1`] = `
"listen": [Function],
"location": Object {
"hash": "",
"key": "lonc7p",
"key": "2rl5qm",
"pathname": "/",
"search": "",
"state": undefined,
Expand Down Expand Up @@ -276,7 +276,7 @@ exports[`renders correctly with content 1`] = `
"entries": Array [
Object {
"hash": "",
"key": "sujqef",
"key": "ecqalr",
"pathname": "/",
"search": "",
"state": undefined,
Expand All @@ -290,7 +290,7 @@ exports[`renders correctly with content 1`] = `
"listen": [Function],
"location": Object {
"hash": "",
"key": "sujqef",
"key": "ecqalr",
"pathname": "/",
"search": "",
"state": undefined,
Expand Down
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion src/__visual__/Layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const Layout: FunctionComponent = ({ children }) => {

return (
<Base
title="This is Backoffice"
title="Backoffice"
menuData={menuData}
isHeaderFixed
history={history}
Expand Down

0 comments on commit 1b11d14

Please sign in to comment.