mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-11 01:33:56 +00:00
perf: trim feishu extension tests
This commit is contained in:
parent
cad102c3ca
commit
efd5eb231a
2 changed files with 3 additions and 2 deletions
|
|
@ -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"],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue