#124 double click navigation, 'preview' event

This commit is contained in:
Denys Vuika
2016-06-08 14:49:47 +01:00
parent 7d1911b189
commit 4dd1073f70
7 changed files with 105 additions and 37 deletions

View File

@@ -251,6 +251,7 @@ describe('DocumentList', () => {
spyOn(documentList, 'getNodePath').and.returnValue(path);
spyOn(documentList, 'displayFolderContent').and.stub();
documentList.navigationMode = 'click';
documentList.onItemClick(node);
expect(documentList.displayFolderContent).toHaveBeenCalledWith(path);