test: 覆盖NapCat审计artifactRoot解析

This commit is contained in:
sunlei 2026-06-25 01:31:55 +08:00
parent b767732fd3
commit 6fc5e65986

View File

@ -112,6 +112,12 @@ export async function runSelfTest(): Promise<void> {
if (!napcatCli.execute || !napcatCli.useCodex) {
throw new Error("NapCat upstream audit CLI parser self-check failed");
}
if (
napcatCli.artifactRoot !==
"/vol1/docker/kt-codex/artifacts/napcat-upstream-sync"
) {
throw new Error("NapCat upstream audit artifactRoot CLI parser self-check failed");
}
const napcatCandidateCli = parseNapcatSyncCandidateReviewCliArgs([
"node",
"server",