mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-16 09:30:44 +00:00
test: clarify memory core assertions
This commit is contained in:
@@ -23,7 +23,7 @@ describe("memory embedding policy", () => {
|
||||
const batches = buildMemoryEmbeddingBatches([chunk(line), chunk(line)], 8000);
|
||||
|
||||
expect(batches).toHaveLength(2);
|
||||
expect(batches.every((batch) => batch.length === 1)).toBe(true);
|
||||
expect(batches.map((batch) => batch.length)).toEqual([1, 1]);
|
||||
});
|
||||
|
||||
it("keeps small files in a single embedding batch", () => {
|
||||
|
||||
Reference in New Issue
Block a user