title: How to unit-test canActivate guard method of angular2 using Jasmine?
body: <p>Sorry for asking this type of question. But I'm not able to find any blog or youtube tutorials on writing the canActivate guard file testing. Nor in the official documentation there is anything mentioned.</p>
  
  <p>any help will be much appreciated.</p>