test: tighten core io empty array assertions

This commit is contained in:
Shakker
2026-05-09 05:29:43 +01:00
parent ef214587fd
commit e771e251eb
8 changed files with 11 additions and 11 deletions

View File

@@ -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 {