test('should handle successful generator function', function () {
  return letta(success).then(function (res) {
    test.strictEqual(typeof res, 'string')
    test.ok(res.indexOf('"license": "MIT"') !== -1)
  })