Update failing tests to match new code

This commit is contained in:
Cassie Tarakajian 2020-04-28 14:52:41 -04:00
parent bd43db1425
commit 4b4b31e117
2 changed files with 7 additions and 6 deletions

View file

@ -24,7 +24,8 @@ describe('<FileNode />', () => {
showFolderChildren: jest.fn(),
hideFolderChildren: jest.fn(),
canEdit: true,
authenticated: false
authenticated: false,
openUploadFileModal: jest.fn()
};
component = shallow(<FileNode {...props} />);
});

View file

@ -144,7 +144,7 @@ exports[`Nav renders correctly 1`] = `
<span
className="nav__keyboard-shortcut"
>
Ctrl
+F
</span>
</button>
@ -161,7 +161,7 @@ exports[`Nav renders correctly 1`] = `
<span
className="nav__keyboard-shortcut"
>
Ctrl
+G
</span>
</button>
@ -180,7 +180,7 @@ exports[`Nav renders correctly 1`] = `
>
+
Ctrl
+G
</span>
</button>
@ -242,7 +242,7 @@ exports[`Nav renders correctly 1`] = `
<span
className="nav__keyboard-shortcut"
>
Ctrl
+Enter
</span>
</button>
@ -261,7 +261,7 @@ exports[`Nav renders correctly 1`] = `
>
+
Ctrl
+Enter
</span>
</button>