fix(lint): route webhook tests through plugin helpers

This commit is contained in:
Vincent Koc
2026-04-06 15:38:04 +01:00
parent ff7fe37d17
commit fdad227b92
2 changed files with 3 additions and 2 deletions

View File

@@ -1,8 +1,8 @@
import { EventEmitter } from "node:events";
import type { IncomingMessage } from "node:http";
import { afterEach, describe, expect, it, vi } from "vitest";
import { createRuntimeTaskFlow } from "../../../src/plugins/runtime/runtime-taskflow.js";
import { createMockServerResponse } from "../../../src/test-utils/mock-http-response.js";
import { createMockServerResponse } from "../../../test/helpers/plugins/mock-http-response.js";
import { createRuntimeTaskFlow } from "../../../test/helpers/plugins/runtime-taskflow.js";
import type { OpenClawConfig } from "../runtime-api.js";
import { createTaskFlowWebhookRequestHandler, type TaskFlowWebhookTarget } from "./http.js";

View File

@@ -0,0 +1 @@
export { createRuntimeTaskFlow } from "../../../src/plugins/runtime/runtime-taskflow.js";