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

c++ - CPP, 'X' button listener -

shared memory - gstreamer shmsrc and shmsink with h264 data -

.net - Bulk insert via Dapper is slower than inserting rows one-by-one -