test(plugins): satisfy channel entry lint

This commit is contained in:
Gustavo Madeira Santana
2026-04-24 21:59:03 -04:00
parent c6602fc561
commit ce6bb35812

View File

@@ -4,7 +4,6 @@ import path from "node:path";
import { pathToFileURL } from "node:url";
import { afterEach, describe, expect, it, vi } from "vitest";
import { importFreshModule } from "../../test/helpers/import-fresh.ts";
import type { ChannelPlugin } from "../channels/plugins/types.plugin.js";
import type { PluginRuntime } from "../plugins/runtime/types.js";
import type { OpenClawPluginApi, PluginRegistrationMode } from "../plugins/types.js";
import { defineBundledChannelEntry, loadBundledEntryExportSync } from "./channel-entry-contract.js";
@@ -78,7 +77,7 @@ function createBundledChannelEntry(params: {
registerCliMetadata?: (api: OpenClawPluginApi) => void;
registerFull?: (api: OpenClawPluginApi) => void;
}) {
return defineBundledChannelEntry<ChannelPlugin>({
return defineBundledChannelEntry({
id: params.pluginId,
name: params.pluginId,
description: "bundled channel entry test",