Skip to content

Commit c976279

Browse files
committed
test(memory-core): allow cold citation startup
1 parent e3b435d commit c976279

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎extensions/memory-core/src/tools.citations.test.ts‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ describe("memory search citations", () => {
9393
return result;
9494
}
9595

96+
// The first tool call pays Vitest's cold lazy-runtime transform cost on Node 24 CI.
9697
it("appends source information when citations are enabled", async () => {
9798
setMemoryBackend("builtin");
9899
const cfg = asOpenClawConfig({
@@ -105,7 +106,7 @@ describe("memory search citations", () => {
105106
const firstResult = expectFirstMemoryResult(details);
106107
expect(firstResult.snippet).toMatch(/Source: MEMORY.md#L5-L7/);
107108
expect(firstResult.citation).toBe("MEMORY.md#L5-L7");
108-
});
109+
}, 180_000);
109110

110111
it("leaves snippet untouched when citations are off", async () => {
111112
setMemoryBackend("builtin");

0 commit comments

Comments
 (0)