protractor-sync-options-plugin
Version:
Protractor plugin to ignore specific async calls in angular application
10 lines (9 loc) • 377 B
TypeScript
/**
* (monkey)patches, if not already patched, angular.testability#whenStable, to be able to ignore some async tasks
* @param {IgnoreTask[]} ignoreTasks ignore filter tasks definitions
*/
export function patchTestability(ignoreTasks: any[]): void;
/**
* restores patched whenStable function to original, if patched.
*/
export function restoreTestability(): void;