test(memory): bound the jq parity spawn with a timeout (#3539)

test/spawnsync-timeout-tripwire.test.ts requires every sync spawn in the test trees to carry a timeout; the jq parity helper had none (remote pregate, tree 037200bc25).

Co-authored-by: Willy Morin <3635875+wmorin@users.noreply.github.com>
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
This commit is contained in:
committed 2026-10-31 18:40:21 +00:00
1 parent 8e11cb1970
commit f883a32f17
1 file changed
+1 -1
+1 -1
View File
@@ -186,7 +186,7 @@ describe('gstack-skill-start jq copy vs the TS rule (table-driven parity)', () =
function jqTrue(program: string, input: string): boolean {
try {
execFileSync('jq', ['-e', program], { input, stdio: ['pipe', 'ignore', 'ignore'] });
execFileSync('jq', ['-e', program], { input, stdio: ['pipe', 'ignore', 'ignore'], timeout: 30_000 });
return true;
} catch {
return false;