[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:
Maurizio Vitale
2021-10-22 14:48:48 +01:00
committed by GitHub
parent 0270608bb0
commit a31f86f57b
11 changed files with 124 additions and 4 deletions

View File

@@ -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;