Skip to content

Commit 7037ef7

Browse files
committed
fix(agent-core): export resolveExecTimeoutMs for test imports
1 parent 03c7bbe commit 7037ef7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/agent-core/src/harness/env/nodejs.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ function resolvePath(cwd: string, path: string): string {
5353
}
5454

5555
/** Convert user-facing timeout seconds into a positive, timer-safe millisecond delay. */
56-
function resolveExecTimeoutMs(timeoutSeconds: unknown): number | undefined {
56+
export function resolveExecTimeoutMs(timeoutSeconds: unknown): number | undefined {
5757
if (
5858
typeof timeoutSeconds !== "number" ||
5959
!Number.isFinite(timeoutSeconds) ||

0 commit comments

Comments
 (0)