Skip to content

Commit eac1d33

Browse files
committed
test: narrow profile state directory type
1 parent aa56abc commit eac1d33

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

src/gateway/gateway-models.profiles.live.test.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2879,9 +2879,7 @@ async function runGatewayModelSuite(params: GatewayModelSuiteParams) {
28792879
lastGood: hostStore.lastGood ? { ...hostStore.lastGood } : undefined,
28802880
usageStats: hostStore.usageStats ? { ...hostStore.usageStats } : undefined,
28812881
});
2882-
const tempStateDir: string | undefined = await fs.mkdtemp(
2883-
path.join(os.tmpdir(), "openclaw-live-state-"),
2884-
);
2882+
const tempStateDir = await fs.mkdtemp(path.join(os.tmpdir(), "openclaw-live-state-"));
28852883
setTestEnvValue("OPENCLAW_STATE_DIR", tempStateDir);
28862884
const tempAgentDir: string | undefined = path.join(
28872885
tempStateDir,

0 commit comments

Comments
 (0)