[MIGRATION] - Fixed unit tests for content

This commit is contained in:
VitoAlbano
2025-05-02 14:31:58 +01:00
committed by DominikIwanek
parent 0ab9551d46
commit 424b90d209

View File

@@ -58,6 +58,7 @@ describe('ViewerEffects', () => {
tick(100); tick(100);
expect(router.navigateByUrl).toHaveBeenCalledWith('/folder1/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' } };
store.dispatch(new ViewFileAction(node)); store.dispatch(new ViewFileAction(node));