Update failing tests to match new code
This commit is contained in:
parent
bd43db1425
commit
4b4b31e117
2 changed files with 7 additions and 6 deletions
|
@ -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} />);
|
||||
});
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue