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

r - geom_bar tied exactly to x and y axis (without aggregating) -

php - Is there a way to specify only some optional function args? -

java - Spring-boot using RestTemplate -