From 9ef1db9e793efb890aad479b2ba3a3f0094117a9 Mon Sep 17 00:00:00 2001 From: Siim Kallas Date: Thu, 17 Oct 2024 13:54:10 +0300 Subject: [PATCH] debug args --- test/runner.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/test/runner.js b/test/runner.js index 67d7697d..bf98a478 100644 --- a/test/runner.js +++ b/test/runner.js @@ -22,18 +22,16 @@ function findTestFiles(dir, fileList = []) { // Find all test files in the ./test directory const testFiles = findTestFiles(__dirname); -console.log(testFiles); -const majorVersion = parseInt(process.version.substring(1, 3)) -const olderThanNode20 = majorVersion < 20; const args = [ '--require', 'ts-node/register/transpile-only', '--test', - olderThanNode20 ? '' : '--test-timeout=50000', ...testFiles, ]; +console.log(args); + const testProcess = spawn('node', args); testProcess.stdout.pipe(process.stdout);