provideProtractorTestingSupport
Returns a set of providers required to setup Testability for an application bootstrapped using the bootstrapApplication function. The set of providers is needed to support testing an application with Protractor (which relies on the Testability APIs to be present).
API
function provideProtractorTestingSupport(options?: {
usePendingTasksForStability?: boolean | undefined;
}): Provider[];
@paramoptions
{ usePendingTasksForStability?: boolean | undefined; }
@returns
Provider[]An array of providers required to setup Testability for an application and make it available for testing using Protractor.
Super-powered by Google ©2010–2025.
Code licensed under an MIT-style License. Documentation licensed under CC BY 4.0.
https://angular.dev/api/platform-browser/provideProtractorTestingSupport