perf: faster tick for snapshot #6271
Annotations
5 errors and 1 notice
tests/edgeless/note/note.spec.ts#L272
1) edgeless/note/note.spec.ts:246:1 › duplicate note should work correctly ───────────────────────
Error: expect(received).toBeCloseTo(expected)
Expected: 552.5581665039062
Received: 658.6046829223633
Expected precision: 2
Expected difference: < 0.005
Received difference: 106.04651641845703
270 | const firstNoteBox = await firstNote.boundingBox();
271 | const secondNoteBox = await secondNote.boundingBox();
> 272 | expect(firstNoteBox!.width).toBeCloseTo(secondNoteBox!.width);
| ^
273 | expect(firstNoteBox!.height).toBeCloseTo(secondNoteBox!.height);
274 | });
275 |
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/note/note.spec.ts:272:31
|
tests/edgeless/note/note.spec.ts#L272
1) edgeless/note/note.spec.ts:246:1 › duplicate note should work correctly ───────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBeCloseTo(expected)
Expected: 446.51165771484375
Received: 481.8604621887207
Expected precision: 2
Expected difference: < 0.005
Received difference: 35.34880447387695
270 | const firstNoteBox = await firstNote.boundingBox();
271 | const secondNoteBox = await secondNote.boundingBox();
> 272 | expect(firstNoteBox!.width).toBeCloseTo(secondNoteBox!.width);
| ^
273 | expect(firstNoteBox!.height).toBeCloseTo(secondNoteBox!.height);
274 | });
275 |
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/note/note.spec.ts:272:31
|
tests/edgeless/note/note.spec.ts#L272
1) edgeless/note/note.spec.ts:246:1 › duplicate note should work correctly ───────────────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBeCloseTo(expected)
Expected: 587.906982421875
Received: 693.9534683227539
Expected precision: 2
Expected difference: < 0.005
Received difference: 106.0464859008789
270 | const firstNoteBox = await firstNote.boundingBox();
271 | const secondNoteBox = await secondNote.boundingBox();
> 272 | expect(firstNoteBox!.width).toBeCloseTo(secondNoteBox!.width);
| ^
273 | expect(firstNoteBox!.height).toBeCloseTo(secondNoteBox!.height);
274 | });
275 |
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/note/note.spec.ts:272:31
|
tests/edgeless/note/note.spec.ts#L272
1) edgeless/note/note.spec.ts:246:1 › duplicate note should work correctly ───────────────────────
Retry #3 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBeCloseTo(expected)
Expected: 623.255859375
Received: 658.6046829223633
Expected precision: 2
Expected difference: < 0.005
Received difference: 35.34882354736328
270 | const firstNoteBox = await firstNote.boundingBox();
271 | const secondNoteBox = await secondNote.boundingBox();
> 272 | expect(firstNoteBox!.width).toBeCloseTo(secondNoteBox!.width);
| ^
273 | expect(firstNoteBox!.height).toBeCloseTo(secondNoteBox!.height);
274 | });
275 |
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/note/note.spec.ts:272:31
|
|
|
This job failed
Loading