Skip to content

Commit 4b4b31e

Browse files
committed
Update failing tests to match new code
1 parent bd43db1 commit 4b4b31e

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

client/components/__test__/FileNode.test.jsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@ describe('<FileNode />', () => {
2424
showFolderChildren: jest.fn(),
2525
hideFolderChildren: jest.fn(),
2626
canEdit: true,
27-
authenticated: false
27+
authenticated: false,
28+
openUploadFileModal: jest.fn()
2829
};
2930
component = shallow(<FileNode {...props} />);
3031
});

client/components/__test__/__snapshots__/Nav.test.jsx.snap

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ exports[`Nav renders correctly 1`] = `
144144
<span
145145
className="nav__keyboard-shortcut"
146146
>
147-
Ctrl
147+
148148
+F
149149
</span>
150150
</button>
@@ -161,7 +161,7 @@ exports[`Nav renders correctly 1`] = `
161161
<span
162162
className="nav__keyboard-shortcut"
163163
>
164-
Ctrl
164+
165165
+G
166166
</span>
167167
</button>
@@ -180,7 +180,7 @@ exports[`Nav renders correctly 1`] = `
180180
>
181181
182182
+
183-
Ctrl
183+
184184
+G
185185
</span>
186186
</button>
@@ -242,7 +242,7 @@ exports[`Nav renders correctly 1`] = `
242242
<span
243243
className="nav__keyboard-shortcut"
244244
>
245-
Ctrl
245+
246246
+Enter
247247
</span>
248248
</button>
@@ -261,7 +261,7 @@ exports[`Nav renders correctly 1`] = `
261261
>
262262
263263
+
264-
Ctrl
264+
265265
+Enter
266266
</span>
267267
</button>

0 commit comments

Comments
 (0)