()
| 99 | writeFile(testAppTsconfigPath, JSON.stringify(testAppTsconfig, null, 2)); |
| 100 | |
| 101 | const runFixers = async function () { |
| 102 | // Patch "executePostTasks" to do nothing. This is necessary since |
| 103 | // we cannot run the node install task in unit tests. Rather we just |
| 104 | // assert that certain async post tasks are scheduled. |
| 105 | // TODO(devversion): RxJS version conflicts between angular-devkit and our dev deps. |
| 106 | runner.engine.executePostTasks = () => EMPTY as any; |
| 107 | |
| 108 | await runner.runSchematic(migrationName, {}, appTree); |
| 109 | |
| 110 | return {logOutput}; |
| 111 | }; |
| 112 | |
| 113 | return {runner, appTree, writeFile, runFixers}; |
| 114 | } |
no outgoing calls
no test coverage detected