From 116f3f5fe02819df7823b86c2a91900429216d0f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ale=C5=A1?= Date: Wed, 13 Oct 2021 12:27:04 +0200 Subject: [PATCH] feat: (draghandle) fix failing test --- projects/ng-sortgrid/src/lib/ngsg-item.directive.spec.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/projects/ng-sortgrid/src/lib/ngsg-item.directive.spec.ts b/projects/ng-sortgrid/src/lib/ngsg-item.directive.spec.ts index 55b5667..493f93f 100644 --- a/projects/ng-sortgrid/src/lib/ngsg-item.directive.spec.ts +++ b/projects/ng-sortgrid/src/lib/ngsg-item.directive.spec.ts @@ -48,9 +48,9 @@ describe('NgsgItemDirective', () => { ); }); - it('should set the draggable attribute on the elment', () => { + it('should not set the draggable attribute on the elment', () => { sut.ngAfterViewInit(); - expect((elementRef.nativeElement as any).draggable).toBeTruthy(); + expect((elementRef.nativeElement as any).draggable).toBeFalsy(); }); it('should not set selectedElements if the event did not occur on the host', () => {