test(core): use lightweight clears in runtime and telegram setup

This commit is contained in:
Peter Steinberger
2026-02-22 08:09:14 +00:00
parent 2557945a8d
commit e893157600
5 changed files with 11 additions and 8 deletions

View File

@@ -10,7 +10,7 @@ import { createPluginRuntime } from "./index.js";
describe("plugin runtime command execution", () => {
beforeEach(() => {
runCommandWithTimeoutMock.mockReset();
runCommandWithTimeoutMock.mockClear();
});
it("exposes runtime.system.runCommandWithTimeout by default", async () => {