diff options
| author | Jacob Richman <[email protected]> | 2025-08-12 09:19:09 -0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-08-12 16:19:09 +0000 |
| commit | 804c181ac4a3dc1c4971a5b8a643421bbe697f3d (patch) | |
| tree | dc0ae93448453081954da307a91d90dfec9c361a /integration-tests/run-tests.js | |
| parent | 2d1a6af890da1e9437cd1a1774e2c7fc7ad32957 (diff) | |
chore(integration-tests): refactor to typescript (#5645)
Diffstat (limited to 'integration-tests/run-tests.js')
| -rw-r--r-- | integration-tests/run-tests.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/integration-tests/run-tests.js b/integration-tests/run-tests.js index 05fb349e..b33e1afa 100644 --- a/integration-tests/run-tests.js +++ b/integration-tests/run-tests.js @@ -52,13 +52,13 @@ async function main() { const testPatterns = args.length > 0 - ? args.map((arg) => `integration-tests/${arg}.test.js`) - : ['integration-tests/*.test.js']; + ? args.map((arg) => `integration-tests/${arg}.test.ts`) + : ['integration-tests/*.test.ts']; const testFiles = glob.sync(testPatterns, { cwd: rootDir, absolute: true }); for (const testFile of testFiles) { const testFileName = basename(testFile); - console.log(`\tFound test file: ${testFileName}`); + console.log(` Found test file: ${testFileName}`); } const MAX_RETRIES = 3; @@ -92,7 +92,7 @@ async function main() { } nodeArgs.push(testFile); - const child = spawn('node', nodeArgs, { + const child = spawn('npx', ['tsx', ...nodeArgs], { stdio: 'pipe', env: { ...process.env, |
