karma runner - AngularJs Tests: assert the path is changed -


I want to claim that the URL will actually be updated on a certain condition.

When I log $ location, it has been printed:

  space {change: function () {...}, assign: function () { ...}, for ancestors: DOMStringList {0: Http: // localhost: 9876 ', length: 1}, originally:' http: // localhost: 9876 ', hash:' ', search:' ', path Name: '/context.html', Port: '9876', Hostname: 'Local Host', Host: 'Localhost: 9876', Protocol: 'http:', href: 'http: // localhost: 9876 / context.html ', Reload: Reload function () {...}}  


Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -