stable

Clone or download

Read-only

Unit-test our drag-and-drop library

Part of story #14310 stop being bothered by the hidden add-in-place editor when I drag and drop some cards No functional changes expected. The drag-and-drop library should have > 90% test coverage Change-Id: Iffda1030e7b6c01c0eea9206233650d28568f02c

Modified Files

Name
A plugins/taskboard/scripts/taskboard/src/helpers/drag-and-drop/DocumentEventsHandler.test.ts +98 −0 Go to diff View file
A plugins/taskboard/scripts/taskboard/src/helpers/drag-and-drop/DrekkenovState.test.ts +155 −0 Go to diff View file
M plugins/taskboard/scripts/taskboard/src/helpers/drag-and-drop/DrekkenovState.ts +5 −3 Go to diff View file
A plugins/taskboard/scripts/taskboard/src/helpers/drag-and-drop/DropGhost.test.ts +409 −0 Go to diff View file
R plugins/taskboard/scripts/taskboard/src/helpers/drag-and-drop/DragGhost.ts Go to diff View file
A plugins/taskboard/scripts/taskboard/src/helpers/drag-and-drop/OngoingDrag.test.ts +142 −0 Go to diff View file
A plugins/taskboard/scripts/taskboard/src/helpers/drag-and-drop/dom-manipulation.test.ts +311 −0 Go to diff View file
M plugins/taskboard/scripts/taskboard/src/helpers/drag-and-drop/dom-manipulation.ts +9 −16 Go to diff View file
A plugins/taskboard/scripts/taskboard/src/helpers/drag-and-drop/drekkenov.test.ts +77 −0 Go to diff View file
A plugins/taskboard/scripts/taskboard/src/helpers/drag-and-drop/event-handler-factory.test.ts +598 −0 Go to diff View file
M plugins/taskboard/scripts/taskboard/src/helpers/drag-and-drop/event-handler-factory.ts +2 −2 Go to diff View file
M plugins/taskboard/scripts/taskboard/src/helpers/drag-and-drop/types.ts +1 −1 Go to diff View file
M plugins/taskboard/scripts/taskboard/src/helpers/drag-drop.test.ts +12 −86 Go to diff View file
M plugins/taskboard/scripts/taskboard/src/helpers/drag-drop.ts +3 −15 Go to diff View file
M plugins/taskboard/scripts/taskboard/src/helpers/jest/create-dom-element.ts +0 −9 Go to diff View file
M plugins/taskboard/scripts/taskboard/src/store/swimlane/type.ts +3 −3 Go to diff View file