From d2b67b2be0f20f0dd50d61c5309a237a56a92c68 Mon Sep 17 00:00:00 2001 From: Andrew Bradley Date: Sun, 6 Feb 2022 23:08:20 -0500 Subject: [PATCH] fix failing windows test --- .prettierignore | 1 + src/test/index.spec.ts | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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'), }