mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-08 11:51:23 +00:00
test(commands): use lightweight clears in config snapshot specs
This commit is contained in:
@@ -50,7 +50,7 @@ async function runIdentityCommandFromWorkspace(workspace: string, fromIdentity =
|
||||
|
||||
describe("agents set-identity command", () => {
|
||||
beforeEach(() => {
|
||||
configMocks.readConfigFileSnapshot.mockReset();
|
||||
configMocks.readConfigFileSnapshot.mockClear();
|
||||
configMocks.writeConfigFile.mockClear();
|
||||
runtime.log.mockClear();
|
||||
runtime.error.mockClear();
|
||||
|
||||
Reference in New Issue
Block a user