mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[AAE-6202] Create a stories lib to make all the adf stories available (#7314)
* Create a stories lib to make all the adf stories available * Run the test with a diff ext type * sunc nx file
This commit is contained in:
@@ -546,8 +546,7 @@ describe('ViewerComponent', () => {
|
||||
spyOn(component['nodesApi'], 'getNode').and.returnValues(
|
||||
Promise.resolve(new NodeEntry({ entry: { name: 'file1', content: {} } }))
|
||||
);
|
||||
spyOn(component['contentApi'], 'getContentUrl').and.returnValues('http://iam-fake.url');
|
||||
spyOn(component, 'getViewerTypeByExtension').and.returnValue('pdf');
|
||||
spyOn(component, 'getViewerTypeByExtension').and.returnValue('jpg');
|
||||
|
||||
component.urlFile = null;
|
||||
component.displayName = null;
|
||||
|
Reference in New Issue
Block a user