fix: cover extra thinking tags (#688) (thanks @theglove44)

This commit is contained in:
Peter Steinberger
2026-01-10 23:23:23 +01:00
parent a580639abf
commit 4d0e74ab6c
5 changed files with 30 additions and 17 deletions

View File

@@ -14,9 +14,7 @@ describe("gateway tool", () => {
vi.useFakeTimers();
const kill = vi.spyOn(process, "kill").mockImplementation(() => true);
const previousStateDir = process.env.CLAWDBOT_STATE_DIR;
const stateDir = await fs.mkdtemp(
path.join(os.tmpdir(), "clawdbot-test-"),
);
const stateDir = await fs.mkdtemp(path.join(os.tmpdir(), "clawdbot-test-"));
process.env.CLAWDBOT_STATE_DIR = stateDir;
try {