refactor(plugin-sdk): untangle extension test seams

This commit is contained in:
Peter Steinberger
2026-03-29 23:43:17 +01:00
parent c942bd798f
commit 8861cdbb6f
176 changed files with 458 additions and 350 deletions

View File

@@ -1,8 +1,8 @@
import { EventEmitter } from "node:events";
import type { IncomingMessage } from "node:http";
import { createEmptyPluginRegistry } from "openclaw/plugin-sdk/testing";
import { setActivePluginRegistry } from "openclaw/plugin-sdk/testing";
import { afterEach, describe, expect, it, vi } from "vitest";
import { createEmptyPluginRegistry } from "../../../src/plugins/registry.js";
import { setActivePluginRegistry } from "../../../src/plugins/runtime.js";
import { createMockServerResponse } from "../../../test/helpers/plugins/mock-http-response.js";
import type { OpenClawConfig, PluginRuntime } from "../runtime-api.js";
import type { ResolvedGoogleChatAccount } from "./accounts.js";