mirror of https://github.com/openclaw/openclaw.git
Slack: fix directory test runtime stub
This commit is contained in:
parent
7d08070dd7
commit
ea74123ab2
|
|
@ -1,5 +1,6 @@
|
|||
import type { OpenClawConfig } from "openclaw/plugin-sdk/slack";
|
||||
import { describe, expect, it, vi } from "vitest";
|
||||
import { createRuntimeEnv } from "../../../test/helpers/extensions/runtime-env.js";
|
||||
import { slackOutbound } from "./outbound-adapter.js";
|
||||
|
||||
const handleSlackActionMock = vi.fn();
|
||||
|
|
@ -261,7 +262,7 @@ describe("slackPlugin directory", () => {
|
|||
},
|
||||
},
|
||||
},
|
||||
runtime: undefined,
|
||||
runtime: createRuntimeEnv(),
|
||||
}),
|
||||
).resolves.toEqual([{ id: "user:u123", kind: "user" }]);
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in New Issue