Skip to content

Commit

Permalink
fix: tests
Browse files Browse the repository at this point in the history
  • Loading branch information
SahilK-027 committed Jan 13, 2025
1 parent b9c6be2 commit f4d5f89
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,14 +47,14 @@ describe('FyLoadingScreenComponent', () => {
component.isSelectionModeEnabled = true;
fixture.detectChanges();
const ionColEl = getElementBySelector(fixture, '.loading-screen-container--content-block');
expect(getElementAttributeValue(ionColEl, 'size')).toBe('4.68');
expect(getElementAttributeValue(ionColEl, 'size')).toBe('6.0');
});

it('should set column size based on isSelectionModeEnabled input is false', () => {
component.isSelectionModeEnabled = false;
fixture.detectChanges();
const ionColEl = getElementBySelector(fixture, '.loading-screen-container--content-block');
expect(getElementAttributeValue(ionColEl, 'size')).toBe('6');
expect(getElementAttributeValue(ionColEl, 'size')).toBe('7.0');
});
});
});

0 comments on commit f4d5f89

Please sign in to comment.