mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-14 03:00:44 +00:00
test: tighten core io empty array assertions
This commit is contained in:
@@ -1323,7 +1323,7 @@ describe("handleSystemRunInvoke mac app exec host routing", () => {
|
||||
|
||||
expect(runCommand).toHaveBeenCalledTimes(1);
|
||||
expectInvokeOk(sendInvokeResult, { payloadContains: "inline-eval-ok" });
|
||||
expect(loadExecApprovals().agents?.main?.allowlist ?? []).toEqual([]);
|
||||
expect(loadExecApprovals().agents?.main?.allowlist ?? []).toStrictEqual([]);
|
||||
},
|
||||
});
|
||||
} finally {
|
||||
@@ -1427,7 +1427,7 @@ describe("handleSystemRunInvoke mac app exec host routing", () => {
|
||||
|
||||
expect(runCommand).toHaveBeenCalledTimes(1);
|
||||
expectInvokeOk(sendInvokeResult, { payloadContains: "inline-eval-ok" });
|
||||
expect(loadExecApprovals().agents?.main?.allowlist ?? []).toEqual([]);
|
||||
expect(loadExecApprovals().agents?.main?.allowlist ?? []).toStrictEqual([]);
|
||||
},
|
||||
});
|
||||
} finally {
|
||||
|
||||
Reference in New Issue
Block a user