mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2025-11-21 12:11:25 +10:00
Builder unit tests helper: comments correction
This commit is contained in:
@ -67,13 +67,13 @@ const dragAndDropListItem = (listItemElement, direction) => {
|
||||
|
||||
listItemElement.focus();
|
||||
|
||||
// enable keyboard dragging
|
||||
// start the drag
|
||||
fireEvent.keyDown(listItemElement, spaceKey);
|
||||
|
||||
// move element based on direction
|
||||
fireEvent.keyDown(listItemElement, getKeyForDirection());
|
||||
|
||||
// disable keyboard dragging
|
||||
// drop
|
||||
fireEvent.keyDown(listItemElement, spaceKey);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user