Skip to content

Commit

Permalink
Fix test failures - async not awaited
Browse files Browse the repository at this point in the history
  • Loading branch information
webfiltered committed Nov 3, 2024
1 parent e792ead commit cf9f4e3
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions browser_tests/fixtures/ComfyPage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -675,7 +675,13 @@ export class ComfyPage {
width: 315,
height: 292
}
this.resizeNode(ksamplerPos, ksamplerSize, percentX, percentY, revertAfter)
return this.resizeNode(
ksamplerPos,
ksamplerSize,
percentX,
percentY,
revertAfter
)
}

async resizeLoadCheckpointNode(
Expand All @@ -691,7 +697,7 @@ export class ComfyPage {
width: 315,
height: 127
}
this.resizeNode(
return this.resizeNode(
loadCheckpointPos,
loadCheckpointSize,
percentX,
Expand All @@ -713,7 +719,7 @@ export class ComfyPage {
width: 315,
height: 136
}
this.resizeNode(
return this.resizeNode(
emptyLatentPos,
emptyLatentSize,
percentX,
Expand Down

0 comments on commit cf9f4e3

Please sign in to comment.