mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-18 19:44:44 +00:00
test: dedupe status json mock read
This commit is contained in:
@@ -135,7 +135,7 @@ describe("statusJsonCommand", () => {
|
||||
await statusJsonCommand({ all: true }, runtime);
|
||||
|
||||
expect(mocks.runSecurityAudit).toHaveBeenCalledOnce();
|
||||
const auditInput = mocks.runSecurityAudit.mock.calls.at(0)?.[0] as
|
||||
const auditInput = mocks.runSecurityAudit.mock.calls[0]?.[0] as
|
||||
| {
|
||||
config?: unknown;
|
||||
sourceConfig?: unknown;
|
||||
|
||||
Reference in New Issue
Block a user