test: sops invocation assertion

Signed-off-by: joshavant <830519+joshavant@users.noreply.github.com>
This commit is contained in:
joshavant 2026-02-24 23:06:50 -06:00 committed by Peter Steinberger
parent 5e3a86fd2f
commit bb60cab76d
1 changed files with 3 additions and 2 deletions

View File

@ -126,10 +126,11 @@ describe("secrets runtime snapshot", () => {
expect(runExecMock).toHaveBeenCalledWith(
"sops",
["--decrypt", "--output-type", "json", expect.stringContaining("secrets.enc.json")],
{
expect.objectContaining({
timeoutMs: 7000,
maxBuffer: 10 * 1024 * 1024,
},
cwd: expect.stringContaining(".openclaw"),
}),
);
});