Skip to content

Commit

Permalink
feat: (draghandle) fix failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
Aleš committed Oct 13, 2021
1 parent 947f4c0 commit 116f3f5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions projects/ng-sortgrid/src/lib/ngsg-item.directive.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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', () => {
Expand Down

0 comments on commit 116f3f5

Please sign in to comment.