14 lines
468 B
TypeScript
Executable File
14 lines
468 B
TypeScript
Executable File
import { describe, it, expect } from "vitest";
|
|
import { MEMORY_CATEGORIES, DEFAULT_AI_MEMORY_LEARNING } from "@adventureos/shared";
|
|
|
|
describe("memory constants", () => {
|
|
it("has 20 memory categories", () => {
|
|
expect(Object.keys(MEMORY_CATEGORIES)).toHaveLength(20);
|
|
});
|
|
|
|
it("defaults learning to opt-in", () => {
|
|
expect(DEFAULT_AI_MEMORY_LEARNING.learningEnabled).toBe(false);
|
|
expect(DEFAULT_AI_MEMORY_LEARNING.requireApproval).toBe(true);
|
|
});
|
|
});
|