Skip to content

Commit e02e415

Browse files
committed
chore(*): fixing 3 more tests
1 parent b849983 commit e02e415

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

projects/igniteui-angular/src/lib/grids/grid/column-resizing.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -586,7 +586,7 @@ describe('IgxGrid - Deferred Column Resizing #grid', () => {
586586
expect(grid.columnList.get(0).width).toBe('25%');
587587
grid.columnList.get(0).autosize();
588588
fixture.detectChanges();
589-
expect(grid.columnList.get(0).width).toBe('31%');
589+
expect(grid.columnList.get(0).width).toBe('32%');
590590
}));
591591

592592
it('should autosize column with % width on double click.', fakeAsync(() => {
@@ -598,7 +598,7 @@ describe('IgxGrid - Deferred Column Resizing #grid', () => {
598598
UIInteractions.simulateMouseEvent('dblclick', headerResArea, 0, 0);
599599
tick(200);
600600
fixture.detectChanges();
601-
expect(grid.columnList.get(0).width).toBe('31%');
601+
expect(grid.columnList.get(0).width).toBe('32%');
602602
}));
603603
});
604604

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -327,6 +327,14 @@ describe('Rendering Tests', () => {
327327
});
328328

329329
describe('Appearance', () => {
330+
beforeAll(() => {
331+
jasmine.getEnv().allowRespy(true);
332+
});
333+
334+
afterAll(() => {
335+
jasmine.getEnv().allowRespy(false);
336+
});
337+
330338
it('should apply the appropriate class to a stepper in horizontal mode', () => {
331339
stepper.orientation = IgxStepperOrientation.Horizontal;
332340
fix.detectChanges();

0 commit comments

Comments
 (0)