mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-12 21:53:00 -06:00
test(plugin-sdk): remove repo-local test helper fossils (#121190)
This commit is contained in:
committed by
GitHub
parent
65dc1d0220
commit
40dbc7a65a
@@ -1,9 +1,8 @@
|
||||
// Slack tests cover index plugin behavior.
|
||||
import { assertBundledChannelEntries } from "openclaw/plugin-sdk/channel-test-helpers";
|
||||
import type { OpenClawPluginApi } from "openclaw/plugin-sdk/plugin-entry";
|
||||
import { createTestPluginApi } from "openclaw/plugin-sdk/plugin-test-api";
|
||||
import { describe, expect, it, vi } from "vitest";
|
||||
import entry from "./index.js";
|
||||
import "./index.js";
|
||||
import setupEntry from "./setup-entry.js";
|
||||
|
||||
const httpRegistryMocks = vi.hoisted(() => ({
|
||||
@@ -32,13 +31,6 @@ vi.mock("./src/http/registry.js", () => ({
|
||||
}));
|
||||
|
||||
describe("slack bundled entries", () => {
|
||||
assertBundledChannelEntries({
|
||||
entry,
|
||||
expectedId: "slack",
|
||||
expectedName: "Slack",
|
||||
setupEntry,
|
||||
});
|
||||
|
||||
it("does not register webhook routes during tool discovery", () => {
|
||||
const registerHttpRoute = vi.fn();
|
||||
entryContractMocks.registerFull?.(
|
||||
|
||||
Reference in New Issue
Block a user