* @internal strip this from published d.ts files due to * https://github.com/microsoft/TypeScript/issues/36216
()
| 828 | * https://github.com/microsoft/TypeScript/issues/36216 |
| 829 | */ |
| 830 | private get testModuleRef(): NgModuleRef<any> { |
| 831 | if (this._testModuleRef === null) { |
| 832 | this._testModuleRef = this.compiler.finalize(); |
| 833 | } |
| 834 | return this._testModuleRef; |
| 835 | } |
| 836 | |
| 837 | private assertNotInstantiated(methodName: string, methodDescription: string) { |
| 838 | if (this._testModuleRef !== null) { |