* @internal strip this from published d.ts files due to * https://github.com/microsoft/TypeScript/issues/36216
()
| 746 | * https://github.com/microsoft/TypeScript/issues/36216 |
| 747 | */ |
| 748 | private get testModuleRef(): NgModuleRef<any> { |
| 749 | if (this._testModuleRef === null) { |
| 750 | this._testModuleRef = this.compiler.finalize(); |
| 751 | } |
| 752 | return this._testModuleRef; |
| 753 | } |
| 754 | |
| 755 | private assertNotInstantiated(methodName: string, methodDescription: string) { |
| 756 | if (this._testModuleRef !== null) { |