fix(edgeless): multi parent container of node of mindmap (#8317) #5913
Annotations
1 error, 1 warning, and 1 notice
tests/utils/asserts.ts#L1187
1) edgeless/frame/frame-mindmap.spec.ts:244:1 › add partial mindmap into frame, move frame, then drag root node of mindmap out.
Error: expect(received).toBeCloseTo(expected, precision)
Expected: 150
Received: 145.78195190429688
Expected precision: 0
Expected difference: < 0.5
Received difference: 4.218048095703125
at utils/asserts.ts:1187
1185 | }
1186 | export function assertBound(received: Bound, expected: Bound) {
> 1187 | expect(received[0]).toBeCloseTo(expected[0], 0);
| ^
1188 | expect(received[1]).toBeCloseTo(expected[1], 0);
1189 | expect(received[2]).toBeCloseTo(expected[2], 0);
1190 | expect(received[3]).toBeCloseTo(expected[3], 0);
at assertBound (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:1187:23)
at assertSelectedBound (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:1118:3)
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/frame/frame-mindmap.spec.ts:304:3
|
|
|
This job succeeded
Loading