mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-28 04:28:58 +02:00
perf: trim feishu extension tests
This commit is contained in:
@@ -5,10 +5,10 @@ vi.mock("@larksuiteoapi/node-sdk", () => {
|
||||
});
|
||||
|
||||
describe("feishu setup entry", () => {
|
||||
it("loads the setup plugin without importing Feishu runtime dependencies", async () => {
|
||||
it("declares the setup entry without importing Feishu runtime dependencies", async () => {
|
||||
const { default: setupEntry } = await import("./setup-entry.js");
|
||||
|
||||
expect(setupEntry.kind).toBe("bundled-channel-setup-entry");
|
||||
expect(setupEntry.loadSetupPlugin({ installRuntimeDeps: false })?.id).toBe("feishu");
|
||||
expect(typeof setupEntry.loadSetupPlugin).toBe("function");
|
||||
});
|
||||
});
|
||||
|
||||
@@ -17,6 +17,7 @@ export function createExtensionFeishuVitestConfig(
|
||||
{
|
||||
dir: "extensions",
|
||||
env,
|
||||
includeOpenClawRuntimeSetup: false,
|
||||
name: "extension-feishu",
|
||||
passWithNoTests: true,
|
||||
setupFiles: ["test/setup.extensions.ts"],
|
||||
|
||||
Reference in New Issue
Block a user