Phantomjs doesn’t support
.bind, which is a known missing feature in phantomjs. I’m using
.bind in a route, and the acceptance test for that route fails in phantomjs because it doesn’t know
.bind. Which all makes sense.
TypeError: session.save(...).then(...).bind is not a function@ 429 msSource: http://localhost:4200/assets/my-app.js:2605
However, the currently available shims don’t seem to work here. I’ve tried using
ember-cli-es5-shim, which doesn’t make a difference in the reported errors. I’ve also tried directly importing the
es5-shim library (installed with bower) in my
app.import. This also doesn’t make any difference, the errors remain.
Does anyone know why this isn’t working?