test: drop core runtime import in matrix directory

This commit is contained in:
Peter Steinberger
2026-01-18 11:03:27 +00:00
parent ee6e534ccb
commit e944f21ec0

View File

@@ -1,14 +1,14 @@
import { beforeEach, describe, expect, it } from "vitest";
import type { PluginRuntime } from "clawdbot/plugin-sdk";
import type { CoreConfig } from "./types.js";
import { matrixPlugin } from "./channel.js";
import { setMatrixRuntime } from "./runtime.js";
import { createPluginRuntime } from "../../../src/plugins/runtime/index.js";
describe("matrix directory", () => {
beforeEach(() => {
setMatrixRuntime(createPluginRuntime());
setMatrixRuntime({} as PluginRuntime);
});
it("lists peers and groups from config", async () => {