javascript - How to bypass zone.js in Angular 2 when using external script? -


i have angular 1 application ngupgrade. application pulls in external script file (a 3rd party service's lib), polls server via settimeout..

now, application works perfectly, except if want test protractor, not able that, since:

scripttimeouterror: asynchronous script timeout: result not received in 30 seconds

is there way tell angular 2 run contents of script tag outside of angulars context?

try increase allscriptstimeout: timeout_in_millis stated in protractor timeouts page, under timeouts webdriver section.


Comments

Popular posts from this blog

java - is not an enclosing class / new Intent Cannot Resolve Constructor -

qt - QML MouseArea onWheel event not working properly when inside QML Scrollview -

python - Error importing VideoFileClip from moviepy : AttributeError: 'PermissionError' object has no attribute 'message' -