Skip to content

Commit

Permalink
test(igx-tabs): Adjust some of the tests, #3269
Browse files Browse the repository at this point in the history
  • Loading branch information
sstoyanovIG committed Jan 17, 2019
1 parent 9d91c4f commit 66a17ab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions projects/igniteui-angular/src/lib/tabs/tabs.component.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ describe('IgxTabs', () => {
tick(100);
fixture.detectChanges();

fixture.componentInstance.wrapperDiv.nativeElement.style.width = '400px';
fixture.componentInstance.wrapperDiv.nativeElement.style.width = '200px';
tick(100);
fixture.detectChanges();

Expand Down Expand Up @@ -330,7 +330,7 @@ describe('IgxTabs', () => {

tick();
fixture.detectChanges();
expect(tabs.selectedIndicator.nativeElement.style.transform).toBe('translate(320px)');
expect(tabs.selectedIndicator.nativeElement.style.transform).toBe('translate(180px)');
}));
});

Expand Down

0 comments on commit 66a17ab

Please sign in to comment.