mirror of
https://github.com/openclaw/openclaw.git
synced 2026-09-29 17:19:00 +08:00
test(acp): call host SQL observer without an env argument
This commit is contained in:
@@ -98,7 +98,7 @@ it("creates, updates, and closes file-backed ACP metadata without host data SQL"
|
||||
sessionKey: "agent:main:acp:worker",
|
||||
skipMaintenance: true,
|
||||
};
|
||||
const observe = observeHostDataSql(state.env);
|
||||
const observe = observeHostDataSql();
|
||||
const maintenance = vi.spyOn(historyMaintenance, "kickSessionHistoryDiskBudgetMaintenance");
|
||||
const initialize = vi.fn(() => META);
|
||||
const update = vi.fn((current: SessionAcpMeta | undefined) => {
|
||||
|
||||
@@ -197,7 +197,7 @@ it.each([
|
||||
}
|
||||
return mutate(...args);
|
||||
});
|
||||
const sql = observeHostDataSql(state.env);
|
||||
const sql = observeHostDataSql();
|
||||
let successor: ReturnType<typeof createRunningTaskRunCoreWithReceiptAsync> | undefined;
|
||||
const cleanup = cleanupTerminalAcpSession(
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user