From 7503fa896f35cb009781706ba316e7935c67e0e5 Mon Sep 17 00:00:00 2001 From: Tianyi Cui <53024+tianyicui@users.noreply.github.com> Date: Tue, 28 Jul 2026 01:43:40 +0800 Subject: [PATCH] fix(snapshot): pass refresh context in SDK snapshots --- examples/jsonrpc-agent/tests/sdk.snapshot.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/jsonrpc-agent/tests/sdk.snapshot.ts b/examples/jsonrpc-agent/tests/sdk.snapshot.ts index 53776c1662..26254f0cf1 100644 --- a/examples/jsonrpc-agent/tests/sdk.snapshot.ts +++ b/examples/jsonrpc-agent/tests/sdk.snapshot.ts @@ -257,7 +257,7 @@ describe('TypeScript SDK snapshots over the jsonrpc runtime', () => { const existing = expectedContents[index] const file = files[index] if (existing === undefined || file === undefined) throw new Error(`no fixture for persisted log ${index}`) - const stable = stabilizeRefreshLog(log.content, existing, replacements) + const stable = stabilizeRefreshLog(log.content, existing, replacements, actualContext) await writeFile(file, stable) return stable }))