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(),
|
showFolderChildren: jest.fn(),
|
||||||
hideFolderChildren: jest.fn(),
|
hideFolderChildren: jest.fn(),
|
||||||
canEdit: true,
|
canEdit: true,
|
||||||
authenticated: false
|
authenticated: false,
|
||||||
|
openUploadFileModal: jest.fn()
|
||||||
};
|
};
|
||||||
component = shallow(<FileNode {...props} />);
|
component = shallow(<FileNode {...props} />);
|
||||||
});
|
});
|
||||||
|
|
|
@ -144,7 +144,7 @@ exports[`Nav renders correctly 1`] = `
|
||||||
<span
|
<span
|
||||||
className="nav__keyboard-shortcut"
|
className="nav__keyboard-shortcut"
|
||||||
>
|
>
|
||||||
Ctrl
|
⌃
|
||||||
+F
|
+F
|
||||||
</span>
|
</span>
|
||||||
</button>
|
</button>
|
||||||
|
@ -161,7 +161,7 @@ exports[`Nav renders correctly 1`] = `
|
||||||
<span
|
<span
|
||||||
className="nav__keyboard-shortcut"
|
className="nav__keyboard-shortcut"
|
||||||
>
|
>
|
||||||
Ctrl
|
⌃
|
||||||
+G
|
+G
|
||||||
</span>
|
</span>
|
||||||
</button>
|
</button>
|
||||||
|
@ -180,7 +180,7 @@ exports[`Nav renders correctly 1`] = `
|
||||||
>
|
>
|
||||||
⇧
|
⇧
|
||||||
+
|
+
|
||||||
Ctrl
|
⌃
|
||||||
+G
|
+G
|
||||||
</span>
|
</span>
|
||||||
</button>
|
</button>
|
||||||
|
@ -242,7 +242,7 @@ exports[`Nav renders correctly 1`] = `
|
||||||
<span
|
<span
|
||||||
className="nav__keyboard-shortcut"
|
className="nav__keyboard-shortcut"
|
||||||
>
|
>
|
||||||
Ctrl
|
⌃
|
||||||
+Enter
|
+Enter
|
||||||
</span>
|
</span>
|
||||||
</button>
|
</button>
|
||||||
|
@ -261,7 +261,7 @@ exports[`Nav renders correctly 1`] = `
|
||||||
>
|
>
|
||||||
⇧
|
⇧
|
||||||
+
|
+
|
||||||
Ctrl
|
⌃
|
||||||
+Enter
|
+Enter
|
||||||
</span>
|
</span>
|
||||||
</button>
|
</button>
|
||||||
|
|
Loading…
Reference in a new issue