mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-08 20:08:26 +00:00
test(core): reduce reset overhead in messaging and agent e2e mocks
This commit is contained in:
@@ -48,7 +48,7 @@ function createManagedRun(exit: MockRunExit, pid = 1234) {
|
||||
|
||||
describe("runCliAgent with process supervisor", () => {
|
||||
beforeEach(() => {
|
||||
supervisorSpawnMock.mockReset();
|
||||
supervisorSpawnMock.mockClear();
|
||||
});
|
||||
|
||||
it("runs CLI through supervisor and returns payload", async () => {
|
||||
|
||||
Reference in New Issue
Block a user