javascript - What's the proper way to test SPA angular application which relies heavily websockets? -


i'm using protractor jasmine test our angular 1.5 based application. page uses reactjs handle streams sources websockets. protractor responsible angular based events/states. problem is, have wait data arrive websockets. right doing manual waits, that's unstable , lame. i'm guessing somehow have listen websocket manually, i'm not sure. what best way wait data coming websockets?


Comments

Popular posts from this blog

sublimetext3 - what keyboard shortcut is to comment/uncomment for this script tag in sublime -

java - No use of nillable="0" in SOAP Webservice -

ubuntu - Laravel 5.2 quickstart guide gives Not Found Error -