So how do you know in your test when that ajax call completes?
that's what I'm exactly looking for.. my question is
whether i can wait for async call completion in QUnit.testStart()
in non-depreacated way.
I think you would be better off having a common function that you
could call from within your test to do that initial ajax call.
I can do that. I
know how to do that without using a QUnit.start() call.
point is it's very unclear from current QUnit documentation
whether I can wait for async call completion in
QUnit.testStart(). Because of the description of the start() is
won't use it if its completely deprecated. But from the current
doc there seems the option and makes our team to discuss how we
achieve our initialization requires async call before testing.
And In my opinion, If we have to write another start up function
which support async call completion by myself, QUnit.start()
is not functioned very well for who needs same requirement in start
it's intended design I'm fine to write our start up function though.