* Sets up the initial state required by individual test cases.
()
| 116 | * Sets up the initial state required by individual test cases. |
| 117 | */ |
| 118 | function setupTestcase() { |
| 119 | resetTestingState(); |
| 120 | setTestName(this.currentTest.fullTitle()); |
| 121 | maybeStubConsoleInfoLogWarn(); |
| 122 | preventAsyncErrorThrows(); |
| 123 | warnForConsoleError(); |
| 124 | stubLogger(); |
| 125 | } |
| 126 | |
| 127 | /** |
| 128 | * Resets AMP-specific state in the global window object. |
nothing calls this directly
no test coverage detected