test('co(* -> yield <promise>: should throw and resume when a promise is rejected', function () {
  var error

  return co(function * () {
    try {