Files
openclaw/src/plugins/memory-runtime.test-support.ts
T
Peter Steinberger 6c9b38862d refactor(plugins): root-owned bundle installation with scoped registry handles (#117587)
* refactor(plugins): root-owned bundle installation with scoped registry handles

* refactor(plugins): root-owned bundle installation with scoped registry handles

* test(gateway): expect gateway-binding fact in reload rewarm

* fix(agents): reuse gateway prepared runtime generations

* test(agents): isolate runtime handle fixtures

* test(agents): align runtime owner fixtures

* test(cron): mock run-owned registry loading
2026-08-01 16:17:30 -07:00

13 lines
352 B
TypeScript

import "./memory-runtime.js";
type MemoryRuntimeTestApi = {
resetStandaloneMemoryRegistrySlot(): void;
};
export function resetStandaloneMemoryRegistrySlot(): void {
const api = (globalThis as Record<PropertyKey, unknown>)[
Symbol.for("openclaw.memoryRuntimeTestApi")
] as MemoryRuntimeTestApi;
api.resetStandaloneMemoryRegistrySlot();
}