mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-10 21:04:33 +00:00
test(reply): replace heavy resets in media and runner helper specs
This commit is contained in:
@@ -19,7 +19,7 @@ function makeResult(text: string) {
|
||||
async function withTempHome<T>(fn: (home: string) => Promise<T>): Promise<T> {
|
||||
return withTempHomeBase(
|
||||
async (home) => {
|
||||
vi.mocked(runEmbeddedPiAgent).mockReset();
|
||||
vi.mocked(runEmbeddedPiAgent).mockClear();
|
||||
return await fn(home);
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user