QUnit.stop( [increment ] )
Description: Increase the number of
QUnit.start() calls the testrunner should wait for before continuing.
1)Type: IntegerOptional argument to increase the async test depth with multiple steps at once.
When your async test has multiple exit points, call
QUnit.stop() multiple times or use the increment argument.
A test that waits 150ms for an async operation to finish, then asserts the result.