mirror of
https://github.com/openclaw/openclaw.git
synced 2026-03-12 07:20:45 +00:00
test: migrate suites to e2e coverage layout
This commit is contained in:
@@ -15,6 +15,11 @@ import type { WizardPrompter } from "openclaw/plugin-sdk";
|
||||
import { afterEach, beforeEach, describe, expect, it, vi } from "vitest";
|
||||
import type { TwitchAccountConfig } from "./types.js";
|
||||
|
||||
vi.mock("openclaw/plugin-sdk", () => ({
|
||||
formatDocsLink: (url: string, fallback: string) => fallback || url,
|
||||
promptChannelAccessConfig: vi.fn(async () => null),
|
||||
}));
|
||||
|
||||
// Mock the helpers we're testing
|
||||
const mockPromptText = vi.fn();
|
||||
const mockPromptConfirm = vi.fn();
|
||||
|
||||
Reference in New Issue
Block a user