mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2026-09-09 18:03:21 +00:00
[MNT-25541] Small unit testing fix
This commit is contained in:
@@ -517,7 +517,7 @@ describe('Test PdfViewer - User interaction', () => {
|
||||
|
||||
component.ngOnChanges(changes);
|
||||
|
||||
const getDocumentSpy = pdfjsLibraryMock.getDocument;
|
||||
const getDocumentSpy = pdfjsLibMock.getDocument;
|
||||
|
||||
expect(getDocumentSpy).toHaveBeenCalled();
|
||||
const loadingArgs = getDocumentSpy.calls.mostRecent().args[0];
|
||||
|
||||
Reference in New Issue
Block a user