mirror of
https://github.com/microsoft/TypeScript.git
synced 2025-11-18 17:21:48 +00:00
Delete redundant test
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user