[ACS-4985] Resolved linting and unit test issues

This commit is contained in:
swapnil.verma
2023-07-27 11:14:48 +05:30
committed by Jatin_Chugh
parent a00375ad10
commit 68047e4f1e
2 changed files with 3 additions and 3 deletions
@@ -57,7 +57,7 @@ describe('SearchFilterTabbedComponent', () => {
testField2: 'Field 2', testField2: 'Field 2',
testField3: 'Field 3' testField3: 'Field 3'
} }
} };
component.valuesToDisplay = { component.valuesToDisplay = {
testField1: 'test-display-value-1', testField1: 'test-display-value-1',
testField2: 'test-display-value-2', testField2: 'test-display-value-2',
@@ -76,13 +76,13 @@ describe('SearchFilterTabbedComponent', () => {
testField2: 'Field 2', testField2: 'Field 2',
testField3: 'Field 3' testField3: 'Field 3'
} }
} };
fixture.detectChanges(); fixture.detectChanges();
const displayedLabelsMap = { const displayedLabelsMap = {
testField1: 'Field 1', testField1: 'Field 1',
testField2: 'Field 2', testField2: 'Field 2',
testField3: 'Field 3' testField3: 'Field 3'
} };
expect(component.displayedLabelsByFieldTranslated.emit).toHaveBeenCalledWith(displayedLabelsMap); expect(component.displayedLabelsByFieldTranslated.emit).toHaveBeenCalledWith(displayedLabelsMap);
}); });