MCPcopy
hub / github.com/Shopify/draggable / dragFlow

Function dragFlow

src/Draggable/Sensors/MouseSensor/tests/MouseSensor.test.js:65–70  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

63
64 it('does not trigger `drag:start` event when clicking on non draggable element', () => {
65 function dragFlow() {
66 clickMouse(document.body);
67 waitForDragDelay();
68 clickMouse(nonDraggableElement);
69 waitForDragDelay();
70 }
71
72 expect(dragFlow).not.toHaveTriggeredSensorEvent('drag:start');
73 });

Callers

nothing calls this directly

Calls 4

clickMouseFunction · 0.90
waitForDragDelayFunction · 0.90
releaseMouseFunction · 0.90
moveMouseFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…