Skip to content

Commit 116f3f5

Browse files
author
Aleš
committed
feat: (draghandle) fix failing test
1 parent 947f4c0 commit 116f3f5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

projects/ng-sortgrid/src/lib/ngsg-item.directive.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,9 @@ describe('NgsgItemDirective', () => {
4848
);
4949
});
5050

51-
it('should set the draggable attribute on the elment', () => {
51+
it('should not set the draggable attribute on the elment', () => {
5252
sut.ngAfterViewInit();
53-
expect((elementRef.nativeElement as any).draggable).toBeTruthy();
53+
expect((elementRef.nativeElement as any).draggable).toBeFalsy();
5454
});
5555

5656
it('should not set selectedElements if the event did not occur on the host', () => {

0 commit comments

Comments
 (0)