mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-05-12 17:04:46 +00:00
Angular 18 upgrade
This commit is contained in:
parent
6a511cfb01
commit
6f377b2a7e
@ -56,7 +56,7 @@ describe('ViewerEffects', () => {
|
|||||||
|
|
||||||
store.dispatch(new ViewFileAction());
|
store.dispatch(new ViewFileAction());
|
||||||
tick(100);
|
tick(100);
|
||||||
expect(router.navigateByUrl).toHaveBeenCalledWith('/node-id/preview/someId');
|
expect(router.navigateByUrl).toHaveBeenCalledWith('/folder1/preview/someId');
|
||||||
}));
|
}));
|
||||||
it('should preview file from payload', fakeAsync(() => {
|
it('should preview file from payload', fakeAsync(() => {
|
||||||
const node: any = { entry: { isFile: true, id: 'someId' } };
|
const node: any = { entry: { isFile: true, id: 'someId' } };
|
||||||
|
Loading…
x
Reference in New Issue
Block a user