Unit Testing JavaScript Promises with Synchronous Tests

By Adrian Sutton