(host: Tree, path: string)
| 31 | import { Schema as AppShellOptions } from './schema'; |
| 32 | |
| 33 | function getSourceFile(host: Tree, path: string): ts.SourceFile { |
| 34 | const content = host.readText(path); |
| 35 | const source = ts.createSourceFile(path, content, ts.ScriptTarget.Latest, true); |
| 36 | |
| 37 | return source; |
| 38 | } |
| 39 | |
| 40 | function getServerModulePath(host: Tree, sourceRoot: string, mainPath: string): string | null { |
| 41 | const mainSource = getSourceFile(host, join(sourceRoot, mainPath)); |
no test coverage detected