Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Baseline config tests for easy validation
- Loading branch information
1 parent
fc5e72b
commit ad0eee7
Showing
236 changed files
with
1,565 additions
and
1,128 deletions.
There are no files selected for viewing
1,107 changes: 147 additions & 960 deletions
1,107
src/testRunner/unittests/config/commandLineParsing.ts
Large diffs are not rendered by default.
Oops, something went wrong.
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
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
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
12 changes: 12 additions & 0 deletions
12
...ce/config/commandLineParsing/parseBuildOptions/--clean and --force together is invalid.js
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,12 @@ | ||
--clean --force | ||
buildOptions:: | ||
{ | ||
"clean": true, | ||
"force": true | ||
} | ||
WatchOptions:: | ||
|
||
Projects:: | ||
. | ||
Errors:: | ||
error TS6370: Options 'clean' and 'force' cannot be combined. |
12 changes: 12 additions & 0 deletions
12
.../config/commandLineParsing/parseBuildOptions/--clean and --verbose together is invalid.js
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,12 @@ | ||
--clean --verbose | ||
buildOptions:: | ||
{ | ||
"clean": true, | ||
"verbose": true | ||
} | ||
WatchOptions:: | ||
|
||
Projects:: | ||
. | ||
Errors:: | ||
error TS6370: Options 'clean' and 'verbose' cannot be combined. |
12 changes: 12 additions & 0 deletions
12
...ce/config/commandLineParsing/parseBuildOptions/--clean and --watch together is invalid.js
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,12 @@ | ||
--clean --watch | ||
buildOptions:: | ||
{ | ||
"clean": true, | ||
"watch": true | ||
} | ||
WatchOptions:: | ||
|
||
Projects:: | ||
. | ||
Errors:: | ||
error TS6370: Options 'clean' and 'watch' cannot be combined. |
12 changes: 12 additions & 0 deletions
12
...ence/config/commandLineParsing/parseBuildOptions/--watch and --dry together is invalid.js
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,12 @@ | ||
--watch --dry | ||
buildOptions:: | ||
{ | ||
"watch": true, | ||
"dry": true | ||
} | ||
WatchOptions:: | ||
|
||
Projects:: | ||
. | ||
Errors:: | ||
error TS6370: Options 'watch' and 'dry' cannot be combined. |
11 changes: 11 additions & 0 deletions
11
...mmandLineParsing/parseBuildOptions/Parse multiple flags with input projects at the end.js
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,11 @@ | ||
--force --verbose src tests | ||
buildOptions:: | ||
{ | ||
"force": true, | ||
"verbose": true | ||
} | ||
WatchOptions:: | ||
|
||
Projects:: | ||
src,tests | ||
Errors:: |
Oops, something went wrong.