refactor: trim agent test helper exports

This commit is contained in:
Peter Steinberger
2026-05-01 13:03:29 +01:00
parent 6f819280a3
commit 8be40059fe
6 changed files with 7 additions and 7 deletions

View File

@@ -42,7 +42,7 @@ export function setupCliBundleMcpTestHarness(): void {
});
}
export function createEnabledBundleProbeConfig(): OpenClawConfig {
function createEnabledBundleProbeConfig(): OpenClawConfig {
return {
plugins: {
entries: {

View File

@@ -87,7 +87,7 @@ export function buildOpenAICodexForwardCompatExpectation(
};
}
export const GOOGLE_GEMINI_CLI_PRO_TEMPLATE_MODEL = {
const GOOGLE_GEMINI_CLI_PRO_TEMPLATE_MODEL = {
id: "gemini-3-pro-preview",
name: "Gemini 3 Pro Preview (Cloud Code Assist)",
provider: "google-gemini-cli",
@@ -100,7 +100,7 @@ export const GOOGLE_GEMINI_CLI_PRO_TEMPLATE_MODEL = {
maxTokens: 64000,
};
export const GOOGLE_GEMINI_CLI_FLASH_TEMPLATE_MODEL = {
const GOOGLE_GEMINI_CLI_FLASH_TEMPLATE_MODEL = {
id: "gemini-3-flash-preview",
name: "Gemini 3 Flash Preview (Cloud Code Assist)",
provider: "google-gemini-cli",

View File

@@ -1,7 +1,7 @@
import { buildAttemptReplayMetadata } from "./run/incomplete-turn.js";
import type { EmbeddedRunAttemptResult } from "./run/types.js";
export const DEFAULT_OVERFLOW_ERROR_MESSAGE =
const DEFAULT_OVERFLOW_ERROR_MESSAGE =
"request_too_large: Request size exceeds model context window";
export function makeOverflowError(message: string = DEFAULT_OVERFLOW_ERROR_MESSAGE): Error {

View File

@@ -171,7 +171,7 @@ export async function withTempDir<T>(
}
}
export function installDockerReadMock(params?: { canonicalPath?: string }) {
function installDockerReadMock(params?: { canonicalPath?: string }) {
const canonicalPath = params?.canonicalPath;
mockedExecDockerRaw.mockImplementation(async (args) => {
const script = getDockerScript(args);

View File

@@ -1,4 +1,4 @@
export const CLAUDE_API_ERROR_MESSAGE =
const CLAUDE_API_ERROR_MESSAGE =
"Third-party apps now draw from your extra usage, not your plan limits. We've added a $200 credit to get you started. Claim it at claude.ai/settings/usage and keep going.";
export function createClaudeApiErrorFixture() {

View File

@@ -6,7 +6,7 @@ import type { SandboxFsBridge, SandboxResolvedPath } from "../sandbox/fs-bridge.
import { createSandboxFsBridgeFromResolver } from "./host-sandbox-fs-bridge.js";
import { createPiToolsSandboxContext } from "./pi-tools-sandbox-context.js";
export function createUnsafeMountedBridge(params: {
function createUnsafeMountedBridge(params: {
root: string;
agentHostRoot: string;
workspaceContainerRoot?: string;