mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-30 13:05:04 +00:00
test: restore fs bridge helper export
This commit is contained in:
@@ -48,6 +48,10 @@ export function findCallByScriptFragment(fragment: string) {
|
||||
return mockedExecDockerRaw.mock.calls.find(([args]) => getDockerScript(args).includes(fragment));
|
||||
}
|
||||
|
||||
export function findCallByDockerArg(position: number, value: string) {
|
||||
return mockedExecDockerRaw.mock.calls.find(([args]) => getDockerArg(args, position) === value);
|
||||
}
|
||||
|
||||
export function findCallsByScriptFragment(fragment: string) {
|
||||
return mockedExecDockerRaw.mock.calls.filter(([args]) =>
|
||||
getDockerScript(args).includes(fragment),
|
||||
|
||||
Reference in New Issue
Block a user