(
options: {usePendingTasksForStability?: boolean} = {},
)
| 194 | * @publicApi |
| 195 | */ |
| 196 | export function provideProtractorTestingSupport( |
| 197 | options: {usePendingTasksForStability?: boolean} = {}, |
| 198 | ): Provider[] { |
| 199 | // Return a copy to prevent changes to the original array in case any in-place |
| 200 | // alterations are performed to the `provideProtractorTestingSupport` call results in app |
| 201 | // code. |
| 202 | return [ |
| 203 | ...TESTABILITY_PROVIDERS, |
| 204 | options?.usePendingTasksForStability !== undefined |
| 205 | ? {provide: ɵUSE_PENDING_TASKS, useValue: options.usePendingTasksForStability ?? false} |
| 206 | : [], |
| 207 | ]; |
| 208 | } |
| 209 | |
| 210 | export function initDomAdapter() { |
| 211 | BrowserDomAdapter.makeCurrent(); |
no outgoing calls
no test coverage detected
searching dependent graphs…