• 개요
@angular/platform-browser

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; }
@returnsProvider[]

An array of providers required to setup Testability for an application and make it available for testing using Protractor.

상세 내용으로 이동