nathanboktae / mocha-phantomjs

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

Bind polyfill fails in angular 1.5.x #235

Closed npbenjohnson closed 8 years ago

npbenjohnson commented 8 years ago

I've verified this polyfill works https://github.com/tom-james-watson/phantomjs-polyfill/blob/master/bind-polyfill.js Discussion about the error: johnpapa/generator-hottowel#154

nathanboktae commented 8 years ago

I'm unclear on how this relates to mocha-phantomjs?

npbenjohnson commented 8 years ago

It has a built in polyfill in browser-shim.js that doesn't behave in a way that meets the MDN spec, accepted polyfill can be found on the documentation for bind here

nathanboktae commented 8 years ago

Got it, thanks. I updated mocha-phantomjs-core. I need to update this.

nathanboktae commented 8 years ago

mocha-phantomjs-core@1.3.1 has been published