mirror of
https://fastgit.cc/github.com/openclaw/openclaw
synced 2026-04-30 14:02:56 +08:00
test(plugins): satisfy channel entry lint
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user