mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
fix eslint warnigs for core project (#7506)
This commit is contained in:
@@ -52,8 +52,8 @@ describe('InfoDrawerComponent', () => {
|
||||
|
||||
it('should emit when tab is changed', () => {
|
||||
const tabEmitSpy = spyOn(component.currentTab, 'emit');
|
||||
const event = {index: 1, tab: {textLabel: 'DETAILS'}};
|
||||
component.onTabChange(<MatTabChangeEvent> event);
|
||||
const event = {index: 1, tab: {textLabel: 'DETAILS'}} as MatTabChangeEvent;
|
||||
component.onTabChange(event);
|
||||
expect(tabEmitSpy).toHaveBeenCalledWith(1);
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user