-
Notifications
You must be signed in to change notification settings - Fork 143
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add test for CLI tsconfig support (#823)
This helps confirm that the code change from #822 is safe, which it seems to be. Previously, this code path was untested, but now that there are CLI integration tests, it's not so bad to write a new one for this case.
- Loading branch information
1 parent
05bda34
commit ab642fe
Showing
8 changed files
with
17 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
4 changes: 4 additions & 0 deletions
4
integration-test/test-cases/cli-cases/respects-tsconfig/test.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"cliOptions": "--project .", | ||
"disableAutomaticInputOutputDirs": true | ||
} |
6 changes: 6 additions & 0 deletions
6
integration-test/test-cases/cli-cases/respects-tsconfig/tsconfig.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"include": ["src/*[!-test].ts"], | ||
"compilerOptions": { | ||
"outDir": "dist-actual" | ||
} | ||
} |