mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-10-30 09:16:55 +00:00
test(studio): the undo socket test holds round 0 to a full restore too
This commit is contained in:
@@ -165,8 +165,7 @@ try {
|
||||
const reverted = await until(() => readIndex() === before, 5_000);
|
||||
const stallMs = undo?.timing ? Math.round(undo.timing.sendStart) : null;
|
||||
rounds.push({ round, pinned, stallMs, reverted });
|
||||
// Round 0 is exempt until the fix for the first undo of a GSAP-free film, which takes back only part, lands.
|
||||
if (!reverted && round > 0) failures.push(`round ${round}: the undo did not restore the file`);
|
||||
if (!reverted) failures.push(`round ${round}: the undo did not restore the file`);
|
||||
if (stallMs == null)
|
||||
failures.push(`round ${round}: the undo's POST history/step never answered`);
|
||||
else if (stallMs > STALL_LIMIT_MS)
|
||||
|
||||
Reference in New Issue
Block a user