Unit Testing JavaScript Promises with Synchronous Tests

Adrian Sutton