Delete redundant test

This commit is contained in:
Andrew Casey
2019-10-17 17:22:47 -07:00
parent 526e413abc
commit 7275e9ca93
3 changed files with 1 additions and 17 deletions
+1 -11
View File
@@ -2,17 +2,7 @@ namespace ts {
describe("unittests:: tsc:: listFilesOnly::", () => {
verifyTsc({
scenario: "listFilesOnly",
subScenario: "before watch",
fs: () => loadProjectFromFiles({
"/src/test.ts": utils.dedent`
export const x = 1;`,
}),
commandLineArgs: ["/src/test.ts", "--listFilesOnly", "--watch"]
});
verifyTsc({
scenario: "listFilesOnly",
subScenario: "after watch",
subScenario: "combined with watch",
fs: () => loadProjectFromFiles({
"/src/test.ts": utils.dedent`
export const x = 1;`,
@@ -1,6 +0,0 @@
//// [/lib/initial-buildOutput.txt]
/lib/tsc /src/test.ts --listFilesOnly --watch
error TS6370: Options 'watch' and 'listFilesOnly' cannot be combined.
exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped