mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
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.
This commit is contained in:
committed by
vivian-hu
parent
aea43ebcca
commit
56f2e50273
@@ -1622,7 +1622,7 @@ describe('CdkDrag', () => {
|
||||
dropInstances[0].connectedTo = dropInstances[1];
|
||||
dropInstances[1].connectedTo = [];
|
||||
|
||||
dispatchMouseEvent(item.element.nativeElement, 'mousedown');
|
||||
startDraggingViaMouse(fixture, item.element.nativeElement);
|
||||
fixture.detectChanges();
|
||||
|
||||
const placeholder = dropZones[0].querySelector('.cdk-drag-placeholder')!;
|
||||
|
||||
Reference in New Issue
Block a user