From 7d751d38944195fa591002122ec6986063542f7e Mon Sep 17 00:00:00 2001 From: Turtle Date: Thu, 23 Jul 2026 16:04:32 +0800 Subject: [PATCH] test(web): provide workspace context config --- packages/host/runtime/tests/host-runtime.spec.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/packages/host/runtime/tests/host-runtime.spec.ts b/packages/host/runtime/tests/host-runtime.spec.ts index 4aac2960d6..ffde9641f0 100644 --- a/packages/host/runtime/tests/host-runtime.spec.ts +++ b/packages/host/runtime/tests/host-runtime.spec.ts @@ -105,7 +105,10 @@ describe('bootHost / startHost', () => { }) it('uses the JSONL backend compressed default', async () => { - const handle: HostHandle = await bootHost({ persistenceRoot: mkdtempSync(join(tmpdir(), 'dsh-boot-zstd-')) }) + const handle: HostHandle = await bootHost({ + persistenceRoot: mkdtempSync(join(tmpdir(), 'dsh-boot-zstd-')), + workspaceContext: false, + }) const session = handle.ctx.sessions.create() expect(handle.ctx.sessionPersistence.locate(session.header)?.path).toMatch(/\.jsonl\.zstd$/) await handle.dispose()