In Mocha, we can pass an error into the done() callback to fail the test. This is useful when you're working with a promise-based API that uses .then(onSuccess, onFailure), because you can simply call done(error) in the onFailure call.
Is there a simple way to accomplish this behavior with jasmine.async? Would you consider a pull request that adds that functionality?