Skip to content

Garry's Opinionated OpenClaw/Hermes Agent Brain

TypeScript

test(goldens): export surface gains the __clearQueryEmbedCacheForTests seam

time-attackc082e4bfdd8f
diff --git a/test/fixtures/goldens/exports/runtime.json b/test/fixtures/goldens/exports/runtime.json
index f1c9406053..ea0e4ebcf1 100644
--- a/test/fixtures/goldens/exports/runtime.json
+++ b/test/fixtures/goldens/exports/runtime.json
@@ -414,6 +414,7 @@
"RerankError",
"THINKING_MODEL_MAX_OUTPUT_TOKENS",
"VoyageResponseTooLargeError",
+ "__clearQueryEmbedCacheForTests",
"__getShrinkStateForTests",
"__setChatTransportForTests",
"__setDecideTransportForTests",
diff --git a/test/fixtures/goldens/exports/types.json b/test/fixtures/goldens/exports/types.json
index 3dc603582a..df057d1477 100644
--- a/test/fixtures/goldens/exports/types.json
+++ b/test/fixtures/goldens/exports/types.json
@@ -1908,6 +1908,13 @@
"stackTraceLimit: number"
]
},
+ {
+ "kind": "function",
+ "name": "__clearQueryEmbedCacheForTests",
+ "signature": [
+ "() => void"
+ ]
+ },
{
"kind": "function",
"name": "__getShrinkStateForTests",