MCPcopy Index your code
hub / github.com/TypeScriptToLua/TypeScriptToLua / parseConfigFileContent

Function parseConfigFileContent

test/cli/parse.spec.ts:152–157  ·  view source on GitHub ↗
(config: any)

Source from the content-addressed store, hash-verified

150
151describe("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 });

Callers 1

parse.spec.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected