diff --git a/.prettierignore b/.prettierignore index e0158cb5c..492a816ce 100644 --- a/.prettierignore +++ b/.prettierignore @@ -11,3 +11,4 @@ tests/throw error.ts tests/throw error react tsx.tsx tests/esm/throw error.ts tests/legacy-source-map-support-interop/index.ts +tests/main-realpath/symlink/symlink.tsx diff --git a/src/test/index.spec.ts b/src/test/index.spec.ts index 0f7e7d4d4..8eef6bc0f 100644 --- a/src/test/index.spec.ts +++ b/src/test/index.spec.ts @@ -1259,7 +1259,7 @@ test.suite('ts-node', (test) => { test('Falls back to transpileOnly when ts compiler returns emitSkipped', async () => { const { err, stdout } = await exec( - `${CMD_TS_NODE_WITHOUT_PROJECT_FLAG} ./outside-rootDir/foo.js`, + `${CMD_TS_NODE_WITHOUT_PROJECT_FLAG} --project tsconfig.json ./outside-rootDir/foo.js`, { cwd: join(TEST_DIR, 'emit-skipped-fallback'), }