mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-10-01 14:41:14 +00:00
upgrade to latest JS-API and ADF (#896)
* improved update script and latest ADF libs * upgrade to latest js-api and ADF * upgrade tests * update viewer code * use @alfresco/js-api * update to latest adf * fix deprecation issues * update viewer * fix copy/move dialog * change expect * fix remove site from favorites * fix unit test * update adf version * use ADF upload dialog
This commit is contained in:
@@ -140,7 +140,7 @@ describe('AppLayoutComponent', () => {
|
||||
|
||||
it('should reset selection before navigation', done => {
|
||||
fixture.detectChanges();
|
||||
const selection = [{ entry: { id: 'nodeId', name: 'name' } }];
|
||||
const selection = [<any>{ entry: { id: 'nodeId', name: 'name' } }];
|
||||
store.dispatch(new SetSelectedNodesAction(selection));
|
||||
|
||||
router.navigateByUrl('somewhere/over/the/rainbow');
|
||||
@@ -153,7 +153,7 @@ describe('AppLayoutComponent', () => {
|
||||
|
||||
it('should not reset selection if route is `/search`', done => {
|
||||
fixture.detectChanges();
|
||||
const selection = [{ entry: { id: 'nodeId', name: 'name' } }];
|
||||
const selection = [<any>{ entry: { id: 'nodeId', name: 'name' } }];
|
||||
store.dispatch(new SetSelectedNodesAction(selection));
|
||||
|
||||
router.navigateByUrl('/search;q=');
|
||||
|
Reference in New Issue
Block a user