From bb60cab76d4a5e475389bd615a835c6f064c4ea0 Mon Sep 17 00:00:00 2001 From: joshavant <830519+joshavant@users.noreply.github.com> Date: Tue, 24 Feb 2026 23:06:50 -0600 Subject: [PATCH] test: sops invocation assertion Signed-off-by: joshavant <830519+joshavant@users.noreply.github.com> --- src/secrets/runtime.test.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/secrets/runtime.test.ts b/src/secrets/runtime.test.ts index fdfc0f2bfc6..00a95bc2368 100644 --- a/src/secrets/runtime.test.ts +++ b/src/secrets/runtime.test.ts @@ -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"), + }), ); });