MCPcopy
hub / github.com/angular/angular / provideProtractorTestingSupport

Function provideProtractorTestingSupport

packages/platform-browser/src/browser.ts:196–208  ·  view source on GitHub ↗
(
  options: {usePendingTasksForStability?: boolean} = {},
)

Source from the content-addressed store, hash-verified

194 * @publicApi
195 */
196export 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
210export function initDomAdapter() {
211 BrowserDomAdapter.makeCurrent();

Callers 15

index.tsFile · 0.90
main.tsFile · 0.90
main.tsFile · 0.90
main.tsFile · 0.90
main.tsFile · 0.90
main.tsFile · 0.90
app.config.tsFile · 0.90
main.tsFile · 0.90
main.tsFile · 0.90
main.tsFile · 0.90
main.tsFile · 0.90
main.tsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…