mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-09-17 14:21:14 +00:00
[MIGRATION] - Fixed unit tests for content
This commit is contained in:
committed by
DominikIwanek
parent
0ab9551d46
commit
424b90d209
@@ -58,6 +58,7 @@ describe('ViewerEffects', () => {
|
||||
tick(100);
|
||||
expect(router.navigateByUrl).toHaveBeenCalledWith('/folder1/preview/someId');
|
||||
}));
|
||||
|
||||
it('should preview file from payload', fakeAsync(() => {
|
||||
const node: any = { entry: { isFile: true, id: 'someId' } };
|
||||
store.dispatch(new ViewFileAction(node));
|
||||
|
Reference in New Issue
Block a user