Open Alcadur opened 7 years ago
I use phantomjs with karma and jasmine. Set event listener:
phantomjs
karma
jasmine
window.addEventListener('hashchange', (event) => { console.log("was change"); });
and then change hash: location.hash = 'some-hash' but was change not showing up on terminal
location.hash = 'some-hash'
was change
I use
phantomjs
withkarma
andjasmine
. Set event listener:and then change hash:
location.hash = 'some-hash'
butwas change
not showing up on terminal