Every single test is failing (must set resolver)


#1

I generate all my controllers, routes, and components with ember g via command line… but EVERY single one of my tests are failing (68) with all my controllers, routes, and components combined… I am getting the following:

Error: you must set a resolver with `testResolver.set(resolver)`
Promise rejected before it exists: you must set a resolver with `testResolver.set(resolver)`

I have never gotten this before. I just created a new dummy controller and it is doing the same thing… any ideas on what is going on?

Thanks, Haley


#2

Any information on this?


#4

This was due to a duplicate key in one of my controllers. I was able to output the tests to a text file by running ember test > test.txt to see all my results (since they were too large to show in the command prompt). More information can be found here: http://stackoverflow.com/questions/36208755/ember-js-tests-failure-due-to-phantomjs-syntax-error