fix(agents): stabilize sessions_spawn e2e suite

This commit is contained in:
Peter Steinberger
2026-02-15 22:39:40 +00:00
parent a948212ca7
commit 6b4590be06
4 changed files with 188 additions and 204 deletions

View File

@@ -1,6 +1,6 @@
import { beforeEach, describe, expect, it } from "vitest";
import { createOpenClawTools } from "./openclaw-tools.js";
import "./test-helpers/fast-core-tools.js";
import { createOpenClawTools } from "./openclaw-tools.js";
import {
getCallGatewayMock,
resetSessionsSpawnConfigOverride,
@@ -9,6 +9,7 @@ import {
import { resetSubagentRegistryForTests } from "./subagent-registry.js";
const callGatewayMock = getCallGatewayMock();
const setConfigOverride = setSessionsSpawnConfigOverride;
describe("openclaw-tools: subagents (sessions_spawn allowlist)", () => {
beforeEach(() => {