• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1namespace ts {
2    describe("unittests:: tsbuild:: lateBoundSymbol:: interface is merged and contains late bound member", () => {
3        verifyTscWithEdits({
4            subScenario: "interface is merged and contains late bound member",
5            fs: () => loadProjectFromDisk("tests/projects/lateBoundSymbol"),
6            scenario: "lateBoundSymbol",
7            commandLineArgs: ["--b", "/src/tsconfig.json", "--verbose"],
8            edits: [
9                {
10                    subScenario: "incremental-declaration-doesnt-change",
11                    modifyFs: fs => replaceText(fs, "/src/src/main.ts", "const x = 10;", ""),
12                },
13                {
14                    subScenario: "incremental-declaration-doesnt-change",
15                    modifyFs: fs => appendText(fs, "/src/src/main.ts", "const x = 10;"),
16                },
17            ]
18        });
19    });
20}
21