mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-07 22:41:25 +00:00
test(core): trim redundant test resets and use mockClear
This commit is contained in:
@@ -36,7 +36,7 @@ describe("ensureGatewayStartupAuth", () => {
|
||||
|
||||
beforeEach(() => {
|
||||
vi.restoreAllMocks();
|
||||
mocks.writeConfigFile.mockReset();
|
||||
mocks.writeConfigFile.mockClear();
|
||||
});
|
||||
|
||||
async function expectNoTokenGeneration(cfg: OpenClawConfig, mode: string) {
|
||||
|
||||
Reference in New Issue
Block a user