diff --git a/test/helpers/auth-wizard.ts b/test/helpers/auth-wizard.ts index a9e409aa25a..9b58b4f6d3a 100644 --- a/test/helpers/auth-wizard.ts +++ b/test/helpers/auth-wizard.ts @@ -6,8 +6,8 @@ import { makeTempWorkspace } from "../../src/test-helpers/workspace.js"; import { captureEnv } from "../../src/test-utils/env.js"; import type { WizardPrompter } from "../../src/wizard/prompts.js"; -export const noopAsync = async () => {}; -export const noop = () => {}; +const noopAsync = async () => {}; +const noop = () => {}; export function createExitThrowingRuntime(): RuntimeEnv { return { @@ -52,7 +52,7 @@ export async function setupAuthTestEnv( return { stateDir, agentDir }; } -export type AuthTestLifecycle = { +type AuthTestLifecycle = { setStateDir: (stateDir: string) => void; cleanup: () => Promise; }; @@ -82,7 +82,7 @@ export function requireOpenClawAgentDir(): string { return agentDir; } -export function authProfilePathForAgent(agentDir: string): string { +function authProfilePathForAgent(agentDir: string): string { return path.join(agentDir, "auth-profiles.json"); } diff --git a/test/mocks/baileys.ts b/test/mocks/baileys.ts index dfa293e9232..158428b7005 100644 --- a/test/mocks/baileys.ts +++ b/test/mocks/baileys.ts @@ -25,7 +25,7 @@ export type MockBaileysSocket = { user?: { id?: string }; }; -export type MockBaileysModule = { +type MockBaileysModule = { BufferJSON: { replacer: (key: string, value: unknown) => unknown; reviver: (key: string, value: unknown) => unknown;