Skip to content

Commit de48922

Browse files
MKirovaMKirova
authored andcommitted
chore(*): Fix test.
1 parent b11cc08 commit de48922

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ import {
2727
PinOnInitAndSelectionComponent
2828
} from '../../test-utils/grid-samples.spec';
2929
import { IgxGridComponent } from './grid.component';
30+
import { DropPosition } from '../moving/moving.service';
3031
// tslint:disable: no-use-before-declare
3132

3233
describe('IgxGrid - Column Pinning #grid', () => {
@@ -585,7 +586,7 @@ describe('IgxGrid - Column Pinning #grid', () => {
585586
it('should pin an unpinned column when drag/drop it among pinned columns.', () => {
586587

587588
// move 'ID' column to the pinned area
588-
grid.moveColumn(grid.getColumnByName('ID'), grid.getColumnByName('ContactName'));
589+
grid.moveColumn(grid.getColumnByName('ID'), grid.getColumnByName('ContactName'), DropPosition.BeforeDropTarget);
589590
fix.detectChanges();
590591

591592
// verify column is pinned at the correct place

0 commit comments

Comments
 (0)