kmiyashiro / grunt-mocha

[MOVED] Grunt task for running mocha specs in a headless browser (PhantomJS)
MIT License
369 stars 106 forks source link

How does grunt-mocha handle pushstate, if testing routers? #137

Closed BlessYAHU closed 9 years ago

BlessYAHU commented 9 years ago

I'm trying to test a router with grunt-mocha, but it doesn't seem to navigate to the route. This test works in browser mocha. What can I do to fix this?

kmiyashiro commented 9 years ago

PhantomJS does not support pushState until ver 2.0, so you cannot test pushState with grunt-mocha.