how to resolve timeout testing

how to resolve timeout testing

hi,
 I wonder that how to resolve to timeout in Qunit code,and  best to  show me the code in details,thanks!