test: isolate git-hooks integration and stabilize exec timeout

This commit is contained in:
Peter Steinberger
2026-02-16 04:24:00 +00:00
parent e7ccbd1445
commit 1b223dbdd8
2 changed files with 3 additions and 1 deletions

View File

@@ -31,6 +31,8 @@ const unitIsolatedFilesRaw = [
"src/browser/server-context.ensure-tab-available.prefers-last-target.test.ts",
// Keep this high-variance heavy file off the unit-fast critical path.
"src/auto-reply/reply.block-streaming.test.ts",
// Integration test is process-heavy and can bottleneck unit-fast.
"test/git-hooks-pre-commit.integration.test.ts",
// Uses process-level unhandledRejection listeners; keep it off vmForks to avoid cross-file leakage.
"src/imessage/monitor.shutdown.unhandled-rejection.test.ts",
];

View File

@@ -59,7 +59,7 @@ describe("runCommandWithTimeout", () => {
],
{
timeoutMs: 5_000,
noOutputTimeoutMs: 80,
noOutputTimeoutMs: 120,
},
);