mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 16:01:01 +00:00
refactor: trim extension test hooks
This commit is contained in:
@@ -276,8 +276,3 @@ export async function resolveComposeServiceUrl(
|
||||
}
|
||||
return (await isHealthy(`${baseUrl}healthz`, fetchImpl)) ? baseUrl : null;
|
||||
}
|
||||
|
||||
export const __testing = {
|
||||
fetchHealthUrl,
|
||||
normalizeDockerServiceStatus,
|
||||
};
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
import type { Command } from "commander";
|
||||
import {
|
||||
createLazyCliRuntimeLoader,
|
||||
createLiveTransportQaCliRegistration,
|
||||
@@ -31,7 +30,3 @@ export const discordQaCliRegistration: LiveTransportQaCliRegistration =
|
||||
sutAccountHelp: "Temporary Discord account id inside the QA gateway config",
|
||||
run: runQaDiscord,
|
||||
});
|
||||
|
||||
export function registerDiscordQaCli(qa: Command) {
|
||||
discordQaCliRegistration.register(qa);
|
||||
}
|
||||
|
||||
@@ -518,15 +518,3 @@ export function startQaCredentialLeaseHeartbeat(
|
||||
},
|
||||
};
|
||||
}
|
||||
|
||||
export const __testing = {
|
||||
DEFAULT_ACQUIRE_TIMEOUT_MS,
|
||||
DEFAULT_ENDPOINT_PREFIX,
|
||||
DEFAULT_HEARTBEAT_INTERVAL_MS,
|
||||
DEFAULT_LEASE_TTL_MS,
|
||||
computeAcquireBackoffMs,
|
||||
normalizeQaCredentialRole,
|
||||
normalizeQaCredentialSource,
|
||||
parsePositiveIntegerEnv,
|
||||
resolveConvexCredentialBrokerConfig,
|
||||
};
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
import type { Command } from "commander";
|
||||
import {
|
||||
createLazyCliRuntimeLoader,
|
||||
createLiveTransportQaCliRegistration,
|
||||
@@ -31,7 +30,3 @@ export const telegramQaCliRegistration: LiveTransportQaCliRegistration =
|
||||
sutAccountHelp: "Temporary Telegram account id inside the QA gateway config",
|
||||
run: runQaTelegram,
|
||||
});
|
||||
|
||||
export function registerTelegramQaCli(qa: Command) {
|
||||
telegramQaCliRegistration.register(qa);
|
||||
}
|
||||
|
||||
@@ -63,7 +63,3 @@ export async function resolveQaNodeExecPath(params?: {
|
||||
}
|
||||
return resolved;
|
||||
}
|
||||
|
||||
export const __testing = {
|
||||
isNodeExecPath,
|
||||
};
|
||||
|
||||
@@ -496,13 +496,3 @@ export async function listQaCredentialSets(options: ListQaCredentialSetsOptions)
|
||||
},
|
||||
});
|
||||
}
|
||||
|
||||
export const __testing = {
|
||||
DEFAULT_ENDPOINT_PREFIX,
|
||||
DEFAULT_HTTP_TIMEOUT_MS,
|
||||
normalizeConvexSiteUrl,
|
||||
normalizeEndpointPrefix,
|
||||
normalizeStatus,
|
||||
parsePositiveIntegerEnv,
|
||||
resolveAdminConfig,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user