Browse Source

test(theme-shared): correct the test for sort icon component

pull/2407/head
TheDiaval 7 years ago
parent
commit
08c7dcfe54
  1. 2
      npm/ng-packs/packages/theme-shared/src/lib/tests/sort-order-icon.component.spec.ts

2
npm/ng-packs/packages/theme-shared/src/lib/tests/sort-order-icon.component.spec.ts

@ -24,7 +24,7 @@ describe('SortOrderIconComponent', () => {
component.sort(newKey);
expect(component.selectedSortKey).toBe(newKey);
expect(component.order).toBe('asc');
expect(component.icon).toBe('fa-sort-asc');
expect(component.icon).toBe('sorting_asc');
});
test("shouldn't have any icon class when sortKey and selectedSortKey are different", () => {

Loading…
Cancel
Save