Closed fivetanley closed 9 years ago
Thanks!
You can choose to not return anything by ending the function with just return
- maybe that is better in this case? Example.
Thanks for this - it was causing my integration tests to hang. Glad to see a fix so fast.
Thanks again! :+1:
Published as version 0.8.1, with some other small bugfixes.
Newer versions of QUnit use the return value of
setup
andteardown
to wait for promises if the return value has a.then
function. Coffeescript has implicit return so it returns the Application instance by default. There are a few problems with this:1) Ember.Application.then is deprecated 2) The promise never resolves if you are calling
visit
/etc in the test block. The code to make the promise resolved can't run before setup is done (test
waits forsetup
).This fixes
ember generate acceptance-test
hanging by default.