Skip to content

Commit 56f2e50

Browse files
crisbetovivian-hu-zz
authored andcommitted
chore: fix drag-drop test failure (#13400)
Fixes a failure in `cdk/drag-drop` that was due to a couple of conflicting PRs getting in close to each other.
1 parent aea43eb commit 56f2e50

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cdk/drag-drop/drag.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1622,7 +1622,7 @@ describe('CdkDrag', () => {
16221622
dropInstances[0].connectedTo = dropInstances[1];
16231623
dropInstances[1].connectedTo = [];
16241624

1625-
dispatchMouseEvent(item.element.nativeElement, 'mousedown');
1625+
startDraggingViaMouse(fixture, item.element.nativeElement);
16261626
fixture.detectChanges();
16271627

16281628
const placeholder = dropZones[0].querySelector('.cdk-drag-placeholder')!;

0 commit comments

Comments
 (0)