(
layout,
layoutItem,
x,
y,
isUserAction,
preventCollision,
compactType,
cols
)
| 164 | |
| 165 | describe("moveElement", () => { |
| 166 | function compactAndMove( |
| 167 | layout, |
| 168 | layoutItem, |
| 169 | x, |
| 170 | y, |
| 171 | isUserAction, |
| 172 | preventCollision, |
| 173 | compactType, |
| 174 | cols |
| 175 | ) { |
| 176 | return compact( |
| 177 | moveElement( |
| 178 | layout, |
| 179 | layoutItem, |
| 180 | x, |
| 181 | y, |
| 182 | isUserAction, |
| 183 | preventCollision, |
| 184 | compactType, |
| 185 | cols |
| 186 | ), |
| 187 | compactType, |
| 188 | cols |
| 189 | ); |
| 190 | } |
| 191 | |
| 192 | it("Does not change layout when colliding on no rearrangement mode", () => { |
| 193 | const layout = [ |
no test coverage detected
searching dependent graphs…