• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1namespace ts {
2    describe("unittests:: tsc:: runWithoutArgs::", () => {
3        verifyTsc({
4            scenario: "runWithoutArgs",
5            subScenario: "show help with ExitStatus.DiagnosticsPresent_OutputsSkipped",
6            fs: () => loadProjectFromFiles({}),
7            commandLineArgs: [],
8            environmentVariables: { TS_TEST_TERMINAL_WIDTH: "120" }
9        });
10
11        verifyTsc({
12            scenario: "runWithoutArgs",
13            subScenario: "show help with ExitStatus.DiagnosticsPresent_OutputsSkipped when host can't provide terminal width",
14            fs: () => loadProjectFromFiles({}),
15            commandLineArgs: [],
16        });
17
18        verifyTsc({
19            scenario: "runWithoutArgs",
20            subScenario: "does not add color when NO_COLOR is set",
21            fs: () => loadProjectFromFiles({}),
22            commandLineArgs: [],
23            environmentVariables: { NO_COLOR: "true" }
24        });
25
26    });
27}
28