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

python - How to insert QWidgets in the middle of a Layout? -

python - serve multiple gunicorn django instances under nginx ubuntu -

module - Prestashop displayPaymentReturn hook url -