Skip to content

Commit 184b7b1

Browse files
committed
test(*): remove redundant check
1 parent 0df93c9 commit 184b7b1

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

projects/igniteui-angular/src/lib/toast/toast.component.spec.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -47,17 +47,11 @@ describe('IgxToast', () => {
4747
});
4848

4949
it('should properly change verical position', () => {
50-
toast.open();
51-
fixture.detectChanges();
5250
expect(toast.position).toBe('bottom');
5351
expect(toast.positionSettings.verticalDirection).toBe(0);
54-
toast.toggle();
55-
fixture.detectChanges();
5652

5753
toast.position = 'top';
58-
toast.open();
5954
fixture.detectChanges();
60-
expect(toast.position).toBe('top');
6155
expect(toast.positionSettings.verticalDirection).toBe(-1);
6256
});
6357

0 commit comments

Comments
 (0)