Skip to content

Commit bcb77ce

Browse files
committed
test(snapshots): update failing tests
1 parent 0f36c48 commit bcb77ce

File tree

2 files changed

+19
-27
lines changed

2 files changed

+19
-27
lines changed

src/containers/DefaultLayout/__snapshots__/DefaultLayout.test.js.snap

Lines changed: 10 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -52,24 +52,6 @@ exports[`Remote Explorer renders should match snapshot 1`] = `
5252
}
5353
>
5454
<AppSidebarNav
55-
history={
56-
Object {
57-
"push": [MockFunction] {
58-
"calls": Array [
59-
Array [
60-
"/login",
61-
],
62-
],
63-
"results": Array [
64-
Object {
65-
"type": "return",
66-
"value": undefined,
67-
},
68-
],
69-
},
70-
}
71-
}
72-
isConnected={true}
7355
isOpen={false}
7456
navConfig={
7557
Object {
@@ -99,18 +81,19 @@ exports[`Remote Explorer renders should match snapshot 1`] = `
9981
"name": "Log Out",
10082
"url": "/login",
10183
},
84+
Object {
85+
"attributes": Object {
86+
"target": "_blank",
87+
},
88+
"class": "mt-auto",
89+
"icon": "cui-cog",
90+
"name": "",
91+
"url": "https://rclone.org/changelog",
92+
"variant": "success",
93+
},
10294
],
10395
}
10496
}
105-
store={
106-
Object {
107-
"dispatch": [Function],
108-
"getState": [Function],
109-
"replaceReducer": [Function],
110-
"subscribe": [Function],
111-
Symbol(observable): [Function],
112-
}
113-
}
11497
tag="nav"
11598
/>
11699
</Suspense>

src/views/Base/RunningJobs/__snapshots__/RunningJobs.test.js.snap

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,15 @@
33
exports[`Running Jobs renders should match snapshot 1`] = `
44
<Row
55
tag="div"
6+
widths={
7+
Array [
8+
"xs",
9+
"sm",
10+
"md",
11+
"lg",
12+
"xl",
13+
]
14+
}
615
>
716
<Col
817
lg={4}

0 commit comments

Comments
 (0)