ember.jsphantomjsacceptance-testingember-qunitember-testing

Phantomjs 2.0.1 can't find variable define at /assets/test-loader.js


At first, I want to say that I faced the exact same problem described here. But the thing is, the answer doesn't fit me, I installed babel, updated it to the latest version and nothing changed. Also, I uninstalled my phantomjs 1.9.8 and installed 2.0.1, I thought that was a great idea, but again, no result. Does anybody know the reason why this can happen?


Solution

  • Please find addon that's using ES6 in your addons and either remove ES6 code from it or install there Babel.