summaryrefslogtreecommitdiffhomepage
path: root/packages/system-prompt/src/service.test.ts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/system-prompt/src/service.test.ts')
-rw-r--r--packages/system-prompt/src/service.test.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/system-prompt/src/service.test.ts b/packages/system-prompt/src/service.test.ts
index cd850e3..37c1c0d 100644
--- a/packages/system-prompt/src/service.test.ts
+++ b/packages/system-prompt/src/service.test.ts
@@ -157,7 +157,7 @@ describe("system-prompt service", () => {
});
const meta = await service.getWithMeta("never-constructed");
- expect(meta).toEqual({ prompt: null, cwd: null });
+ expect(meta).toEqual({ prompt: null, cwd: null, computerId: null });
});
it("getWithMeta after construct returns the resolved prompt and the exact cwd", async () => {
@@ -217,11 +217,11 @@ describe("system-prompt service", () => {
const first = await service.construct("conv-second", "/dir-a");
const firstMeta = await service.getWithMeta("conv-second");
- expect(firstMeta).toEqual({ prompt: first, cwd: "/dir-a" });
+ expect(firstMeta).toEqual({ prompt: first, cwd: "/dir-a", computerId: null });
const second = await service.construct("conv-second", "/dir-b");
const secondMeta = await service.getWithMeta("conv-second");
- expect(secondMeta).toEqual({ prompt: second, cwd: "/dir-b" });
+ expect(secondMeta).toEqual({ prompt: second, cwd: "/dir-b", computerId: null });
expect(secondMeta.cwd).not.toBe("/dir-a");
});
});