nathanboktae / mocha-phantomjs

:coffee: :ghost: Run client-side mocha tests in the command line through phantomjs
MIT License
954 stars 112 forks source link

update mocha-phantomjs-core #261

Closed DanielRuf closed 4 years ago

DanielRuf commented 6 years ago

mocha-phantomjs-core is still pinned to 1.x

DanielRuf commented 6 years ago

Related: https://github.com/jquery/jquery/issues/3955

nathanboktae commented 6 years ago

Do you mean to update mocha-phantomjs-core or phantomjs ?

In general I would recommend mocha-chrome these days instead of using phantomjs. If you still like phantomjs, you can use mocha-phantomjs-core directly with phantomjs 2.

DanielRuf commented 6 years ago

Right but what about existing projects? It is definitely helpful to have a new release with a newer mocha-phantomjs-core version. Or isn't this here actively maintained anymore?

nathanboktae commented 6 years ago

No it's useful to update the mocha-phantomjs-core version. I need to see if I need to take a major version change for that upgrade though. However your issue in the linked project is due to phantomjs, and honestly even with phantomjs 2.x you'll still run into another wonky phantomjs issue later. Running Chrome & Firefox fully headless in an uatomated fashion and then using the regular windowed mode for debugging is the dream we've all been waiting for and it's here. Phantomjs was a stopgap to this. Even phantomjs itself is not actively maintained anymore.