Fresh history cut from cynarAI/evoo antigravity-handoff/project-timeline (Voice First + project timeline). Brand docs/titles as evOo; keep @rakazo/* packages as tech debt. Excludes node_modules, caches, secrets, voice blobs.
13 lines
425 B
TypeScript
13 lines
425 B
TypeScript
import { describe, expect, it } from "vitest";
|
|
import { effectiveMemoryScope } from "./memory-config.js";
|
|
|
|
describe("effectiveMemoryScope", () => {
|
|
it("uses the bot's own scope when set", () => {
|
|
expect(effectiveMemoryScope("shared", "isolated")).toBe("shared");
|
|
});
|
|
|
|
it("falls back to the workspace default when the bot has none", () => {
|
|
expect(effectiveMemoryScope(null, "shared")).toBe("shared");
|
|
});
|
|
});
|