Testing Asynchronous Code

In this episode we cover the concept of expectations, which enables us to test asynchronous code, properly timing out and failing a test if the expectation is never fulfilled.

This is a companion discussion topic for the original entry at https://nsscreencast.com/episodes/333-testing-asynchronous-code