| 150 | |
| 151 | describe("tsconfig", () => { |
| 152 | const parseConfigFileContent = (config: any) => { |
| 153 | // Specifying `files` option disables automatic file searching, that includes all files in |
| 154 | // the project, making these tests slow. Empty file list is considered as an error. |
| 155 | config.files = ["src/index.ts"]; |
| 156 | return tstl.updateParsedConfigFile(ts.parseJsonConfigFileContent(config, ts.sys, "")); |
| 157 | }; |
| 158 | |
| 159 | test("should support deprecated root-level options", () => { |
| 160 | const rootLevel = parseConfigFileContent({ noHeader: true }); |