test: speed up default test env

This commit is contained in:
Peter Steinberger
2026-01-23 18:31:33 +00:00
parent fdc50a0feb
commit 29353e2e81
6 changed files with 22 additions and 13 deletions

View File

@@ -9,11 +9,6 @@ import type { ClawdbotConfig } from "../src/config/config.js";
import type { OutboundSendDeps } from "../src/infra/outbound/deliver.js";
import { setActivePluginRegistry } from "../src/plugins/runtime.js";
import { createTestRegistry } from "../src/test-utils/channel-plugins.js";
import { installTestEnv } from "./test-env";
const { cleanup } = installTestEnv();
process.on("exit", cleanup);
const pickSendFn = (id: ChannelId, deps?: OutboundSendDeps) => {
switch (id) {
case "discord":