Skip to content

Commit d2b67b2

Browse files
committed
fix failing windows test
1 parent 71d234b commit d2b67b2

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.prettierignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,4 @@ tests/throw error.ts
1111
tests/throw error react tsx.tsx
1212
tests/esm/throw error.ts
1313
tests/legacy-source-map-support-interop/index.ts
14+
tests/main-realpath/symlink/symlink.tsx

src/test/index.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1259,7 +1259,7 @@ test.suite('ts-node', (test) => {
12591259

12601260
test('Falls back to transpileOnly when ts compiler returns emitSkipped', async () => {
12611261
const { err, stdout } = await exec(
1262-
`${CMD_TS_NODE_WITHOUT_PROJECT_FLAG} ./outside-rootDir/foo.js`,
1262+
`${CMD_TS_NODE_WITHOUT_PROJECT_FLAG} --project tsconfig.json ./outside-rootDir/foo.js`,
12631263
{
12641264
cwd: join(TEST_DIR, 'emit-skipped-fallback'),
12651265
}

0 commit comments

Comments
 (0)