Skip to content

Commit b333eb1

Browse files
committed
Tests: align plugin test imports with local barrels
1 parent 100d7b0 commit b333eb1

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

extensions/mattermost/src/mattermost/reactions.test-helpers.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import type { OpenClawConfig } from "openclaw/plugin-sdk/mattermost";
21
import { expect, vi } from "vitest";
2+
import type { OpenClawConfig } from "../../runtime-api.js";
33

44
export function createMattermostTestConfig(): OpenClawConfig {
55
return {

extensions/msteams/src/test-runtime.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import os from "node:os";
22
import path from "node:path";
3-
import type { PluginRuntime } from "openclaw/plugin-sdk/msteams";
3+
import type { PluginRuntime } from "../runtime-api.js";
44

55
export const msteamsRuntimeStub = {
66
state: {

extensions/synology-chat/src/channel.test-mocks.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ async function readRequestBodyWithLimitForTest(req: IncomingMessage): Promise<st
2727
});
2828
}
2929

30-
vi.mock("openclaw/plugin-sdk/synology-chat", () => ({
30+
vi.mock("../api.js", () => ({
3131
DEFAULT_ACCOUNT_ID: "default",
3232
setAccountEnabledInConfigSection: vi.fn((_opts: unknown) => ({})),
3333
registerPluginHttpRoute: registerPluginHttpRouteMock,

0 commit comments

Comments
 (0)