title: Jasmine 2.0 how to wait real time before running an expectation
body: <p>I am trying to test the postMessage API as there is a slight delay before message are receive i can not run expectation right after sending a message.</p>
  
  <p>In jasmine 1.3 i used to wait() a few milliseconds before running expectation and that worked fine. However with jasmine 2.0 wait() is deprecated and it now seems that everything inside a setTimeout do not get run unless done() is called, witch in my case doesn't cut it as i actually want to wait real time before running my expectation..</p>
  
  <p>Not sure if that all make sense, if it does I'd love some pointers on how I could go about this.
  Thanks!</p>