mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-04 04:10:26 +00:00
test(infra): use lightweight clears in update startup mocks
This commit is contained in:
@@ -74,9 +74,9 @@ describe("update-startup", () => {
|
||||
await import("./update-startup.js"));
|
||||
loaded = true;
|
||||
}
|
||||
vi.mocked(resolveOpenClawPackageRoot).mockReset();
|
||||
vi.mocked(checkUpdateStatus).mockReset();
|
||||
vi.mocked(resolveNpmChannelTag).mockReset();
|
||||
vi.mocked(resolveOpenClawPackageRoot).mockClear();
|
||||
vi.mocked(checkUpdateStatus).mockClear();
|
||||
vi.mocked(resolveNpmChannelTag).mockClear();
|
||||
resetUpdateAvailableStateForTest();
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user