mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-07 08:01:40 +00:00
test: sops invocation assertion
Signed-off-by: joshavant <830519+joshavant@users.noreply.github.com>
This commit is contained in:
committed by
Peter Steinberger
parent
5e3a86fd2f
commit
bb60cab76d
@@ -126,10 +126,11 @@ describe("secrets runtime snapshot", () => {
|
|||||||
expect(runExecMock).toHaveBeenCalledWith(
|
expect(runExecMock).toHaveBeenCalledWith(
|
||||||
"sops",
|
"sops",
|
||||||
["--decrypt", "--output-type", "json", expect.stringContaining("secrets.enc.json")],
|
["--decrypt", "--output-type", "json", expect.stringContaining("secrets.enc.json")],
|
||||||
{
|
expect.objectContaining({
|
||||||
timeoutMs: 7000,
|
timeoutMs: 7000,
|
||||||
maxBuffer: 10 * 1024 * 1024,
|
maxBuffer: 10 * 1024 * 1024,
|
||||||
},
|
cwd: expect.stringContaining(".openclaw"),
|
||||||
|
}),
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user