mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 00:10:21 +00:00
test: install task flow owner memory store after reset
This commit is contained in:
@@ -9,6 +9,7 @@ import { createManagedTaskFlow, resetTaskFlowRegistryForTests } from "./task-flo
|
|||||||
import { configureTaskFlowRegistryRuntime } from "./task-flow-registry.store.js";
|
import { configureTaskFlowRegistryRuntime } from "./task-flow-registry.store.js";
|
||||||
|
|
||||||
beforeEach(() => {
|
beforeEach(() => {
|
||||||
|
resetTaskFlowRegistryForTests({ persist: false });
|
||||||
configureTaskFlowRegistryRuntime({
|
configureTaskFlowRegistryRuntime({
|
||||||
store: {
|
store: {
|
||||||
loadSnapshot: () => ({ flows: new Map() }),
|
loadSnapshot: () => ({ flows: new Map() }),
|
||||||
@@ -17,7 +18,6 @@ beforeEach(() => {
|
|||||||
deleteFlow: () => {},
|
deleteFlow: () => {},
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
resetTaskFlowRegistryForTests({ persist: false });
|
|
||||||
});
|
});
|
||||||
|
|
||||||
afterEach(() => {
|
afterEach(() => {
|
||||||
|
|||||||
Reference in New Issue
Block a user