Skip to content

Commit

Permalink
fix failing windows test
Browse files Browse the repository at this point in the history
  • Loading branch information
cspotcode committed Feb 7, 2022
1 parent 71d234b commit d2b67b2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion src/test/index.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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'),
}
Expand Down

0 comments on commit d2b67b2

Please sign in to comment.