(methodName: string, methodDescription: string)
| 753 | } |
| 754 | |
| 755 | private assertNotInstantiated(methodName: string, methodDescription: string) { |
| 756 | if (this._testModuleRef !== null) { |
| 757 | throw new Error( |
| 758 | `Cannot ${methodDescription} when the test module has already been instantiated. ` + |
| 759 | `Make sure you are not using \`inject\` before \`${methodName}\`.`, |
| 760 | ); |
| 761 | } |
| 762 | } |
| 763 | |
| 764 | /** |
| 765 | * Check whether the module scoping queue should be flushed, and flush it if needed. |
no outgoing calls
no test coverage detected