(l: MapLayout)
| 343 | OPTS |
| 344 | ); |
| 345 | const positions = (l: MapLayout) => |
| 346 | l.nodes |
| 347 | .map((n) => `${n.id}@${n.layer}:${Math.round(n.x)},${Math.round(n.y)}`) |
| 348 | .sort() |
| 349 | .join('|'); |
| 350 | expect(positions(b)).toBe(positions(a)); |
| 351 | }); |
| 352 |
no test coverage detected