()
| 243 | } |
| 244 | |
| 245 | const createProject = () => { |
| 246 | const project = new Project() |
| 247 | |
| 248 | assertBuildDirExists(typeBuildDir) |
| 249 | assertBuildDirExists(schemaBuildDir) |
| 250 | |
| 251 | project.addSourceFilesAtPaths(typeBuildGlob) |
| 252 | project.addSourceFilesAtPaths(schemaBuildGlob) |
| 253 | |
| 254 | return project |
| 255 | } |
| 256 | |
| 257 | const assertBuildDirExists = (path: string) => { |
| 258 | if (!existsSync(path)) { |
no test coverage detected