Skip to content

Commit

Permalink
fix: test
Browse files Browse the repository at this point in the history
  • Loading branch information
doouding committed May 10, 2024
1 parent de03a03 commit 61d7188
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ export class EdgelessBlockPortalContainer extends WithDisposable(

private _clearWillChangeId: null | ReturnType<typeof setTimeout> = null;

private _renderCounts = 5;
private _renderCounts = 10;

get isDragging() {
return this.selectedRect.dragging;
Expand Down
2 changes: 1 addition & 1 deletion packages/presets/src/__tests__/edgeless/layer.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -474,7 +474,7 @@ test('the actual rendering order of blocks should satisfy the logic order of the
await wait();

editor.mode = 'edgeless';
await wait();
await wait(32);

const edgeless = getDocRootBlock(doc, editor, 'edgeless');
const blocks = Array.from(
Expand Down

0 comments on commit 61d7188

Please sign in to comment.