mirror of
https://github.com/openclaw/openclaw.git
synced 2026-07-27 14:21:13 +00:00
* refactor(sessions): privatize runtime test seams * refactor(commitments): privatize extraction test seams * refactor(flows): privatize doctor health seams * refactor(tasks): privatize registry test seams * build(commitments): bundle Docker test support * chore(deadcode): shrink runtime export baseline
14 lines
511 B
TypeScript
14 lines
511 B
TypeScript
import type { DetachedTaskLifecycleRuntime } from "./detached-task-runtime-contract.js";
|
|
import {
|
|
clearDetachedTaskLifecycleRuntimeRegistration,
|
|
registerDetachedTaskLifecycleRuntime,
|
|
} from "./detached-task-runtime-state.js";
|
|
|
|
export function setDetachedTaskLifecycleRuntime(runtime: DetachedTaskLifecycleRuntime): void {
|
|
registerDetachedTaskLifecycleRuntime("__test__", runtime);
|
|
}
|
|
|
|
export function resetDetachedTaskLifecycleRuntimeForTests(): void {
|
|
clearDetachedTaskLifecycleRuntimeRegistration();
|
|
}
|