mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-05 14:10:24 +00:00
test(core): use lightweight clears in command and dispatch setup
This commit is contained in:
@@ -48,8 +48,8 @@ describe("ensureBrowserControlAuth", () => {
|
||||
|
||||
beforeEach(() => {
|
||||
vi.restoreAllMocks();
|
||||
mocks.loadConfig.mockReset();
|
||||
mocks.writeConfigFile.mockReset();
|
||||
mocks.loadConfig.mockClear();
|
||||
mocks.writeConfigFile.mockClear();
|
||||
});
|
||||
|
||||
it("returns existing auth and skips writes", async () => {
|
||||
|
||||
Reference in New Issue
Block a user