test('co(function) -> promise: return resolve promise', function () {
  return co(function () {
    return Promise.resolve(1)
  }).then(function (data) {
    test.strictEqual(data, 1)