mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2026-09-09 18:03:21 +00:00
fix for unit test
This commit is contained in:
+1
-1
@@ -467,7 +467,7 @@ describe('ContentMetadataComponent', () => {
|
||||
const group = { editable: true };
|
||||
const mockEvent = new Event('click');
|
||||
spyOn(component, 'revertChanges');
|
||||
component.cancelChanges(group, mockEvent);
|
||||
component.cancelChanges(mockEvent);
|
||||
expect(group.editable).toBe(false);
|
||||
expect(component.revertChanges).toHaveBeenCalled();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user