mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-09 01:08:28 +00:00
perf(test): eliminate resetModules via injectable seams
This commit is contained in:
@@ -8,6 +8,10 @@ import { normalizeServePath } from "./gmail.js";
|
||||
let cachedPythonPath: string | null | undefined;
|
||||
const MAX_OUTPUT_CHARS = 800;
|
||||
|
||||
export function resetGmailSetupUtilsCachesForTest(): void {
|
||||
cachedPythonPath = undefined;
|
||||
}
|
||||
|
||||
function trimOutput(value: string): string {
|
||||
const trimmed = value.trim();
|
||||
if (!trimmed) {
|
||||
|
||||
Reference in New Issue
Block a user