test: clarify memory core assertions

This commit is contained in:
Peter Steinberger
2026-05-08 11:49:00 +01:00
parent b332f06e30
commit 774e8a7054
3 changed files with 4 additions and 4 deletions

View File

@@ -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", () => {