From c5fd1d7d70f2c88fba11c75a7b23e5b02c78dcf4 Mon Sep 17 00:00:00 2001 From: "Mark S. Miller" Date: Fri, 22 Mar 2024 13:13:33 -0700 Subject: [PATCH] fixup! minor --- packages/zone/test/async-flow/test-async-flow.js | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/packages/zone/test/async-flow/test-async-flow.js b/packages/zone/test/async-flow/test-async-flow.js index abe29f216aa4..9d3150456c20 100644 --- a/packages/zone/test/async-flow/test-async-flow.js +++ b/packages/zone/test/async-flow/test-async-flow.js @@ -245,6 +245,9 @@ const testGoodReplay = async (t, zone, vowTools) => { // awaiting a promise that won't be resolved until this incarnation await g2; t.log(' goodReplay woke up!'); + const prod2 = gOrch7.scale(3); + // same question. different answer + t.is(prod2, 42); }, }; @@ -271,7 +274,7 @@ const testGoodReplay = async (t, zone, vowTools) => { const { vow: v1 } = zone.makeOnce('v1', () => Fail`v1 expected`); const logDump = flow.dump(); - t.is(logDump.length, firstLogLen + 1); + t.is(logDump.length, firstLogLen + 3); t.deepEqual(logDump, [ ['doFulfill', v1, 'x'], ['checkCall', hOrch7, 'vow', [], 1], @@ -286,6 +289,9 @@ const testGoodReplay = async (t, zone, vowTools) => { ], // new stuff ['doFulfill', v2, 'y'], + ['checkCall', hOrch7, 'scale', [3], firstLogLen + 1], + // same question. different answer + ['doReturn', firstLogLen + 1, 42], ]); t.is(await when(outcomeV), undefined);