mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-26 16:41:49 +00:00
test: reset git commit test module mocks
This commit is contained in:
@@ -43,6 +43,9 @@ describe("git commit resolution", () => {
|
||||
|
||||
afterEach(() => {
|
||||
process.chdir(originalCwd);
|
||||
vi.restoreAllMocks();
|
||||
vi.doUnmock("node:fs");
|
||||
vi.doUnmock("node:module");
|
||||
vi.resetModules();
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user