• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1namespace ts {
2    describe("unittests:: tsc:: forceConsistentCasingInFileNames::", () => {
3        verifyTsc({
4            scenario: "forceConsistentCasingInFileNames",
5            subScenario: "with relative and non relative file resolutions",
6            commandLineArgs: ["/src/project/src/struct.d.ts", "--forceConsistentCasingInFileNames", "--explainFiles"],
7            fs: () => loadProjectFromFiles({
8                "/src/project/src/struct.d.ts": Utils.dedent`
9                    import * as xs1 from "fp-ts/lib/Struct";
10                    import * as xs2 from "fp-ts/lib/struct";
11                    import * as xs3 from "./Struct";
12                    import * as xs4 from "./struct";
13                `,
14                "/src/project/node_modules/fp-ts/lib/struct.d.ts": `export function foo(): void`,
15            }),
16        });
17    });
18}