{"action":"created","issue":{"url":"https://api.github.com/repos/webdriverio/webdriverio/issues/816","labels_url":"https://api.github.com/repos/webdriverio/webdriverio/issues/816/labels{/name}","comments_url":"https://api.github.com/repos/webdriverio/webdriverio/issues/816/comments","events_url":"https://api.github.com/repos/webdriverio/webdriverio/issues/816/events","html_url":"https://github.com/webdriverio/webdriverio/pull/816","id":110104307,"number":816,"title":"Play nice with Babel regenerator, take 2","user":{"login":"pishposh","id":1450503,"avatar_url":"https://avatars.githubusercontent.com/u/1450503?v=3","gravatar_id":"","url":"https://api.github.com/users/pishposh","html_url":"https://github.com/pishposh","followers_url":"https://api.github.com/users/pishposh/followers","following_url":"https://api.github.com/users/pishposh/following{/other_user}","gists_url":"https://api.github.com/users/pishposh/gists{/gist_id}","starred_url":"https://api.github.com/users/pishposh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pishposh/subscriptions","organizations_url":"https://api.github.com/users/pishposh/orgs","repos_url":"https://api.github.com/users/pishposh/repos","events_url":"https://api.github.com/users/pishposh/events{/privacy}","received_events_url":"https://api.github.com/users/pishposh/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-10-06T21:23:14Z","updated_at":"2015-10-06T21:49:17Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/webdriverio/webdriverio/pulls/816","html_url":"https://github.com/webdriverio/webdriverio/pull/816","diff_url":"https://github.com/webdriverio/webdriverio/pull/816.diff","patch_url":"https://github.com/webdriverio/webdriverio/pull/816.patch"},"body":"[(Original p.r. here.)](https://github.com/webdriverio/webdriverio/pull/815)\r\n\r\nAs suggested. I’ve tested this in Node 4 with and without Babel, and Node 0.10 with Babel, but I’m not sure how best to keep the parser from choking on `function*` when running without generator support. Best I can come up with is to detect generator support within the `describe` block, at runtime, and conditionally require a separate spec file with the generator tests. Maybe we could just split off the generator tests into separate wdio.confs? Thoughts?"},"comment":{"url":"https://api.github.com/repos/webdriverio/webdriverio/issues/comments/146011474","html_url":"https://github.com/webdriverio/webdriverio/pull/816#issuecomment-146011474","issue_url":"https://api.github.com/repos/webdriverio/webdriverio/issues/816","id":146011474,"user":{"login":"christian-bromann","id":731337,"avatar_url":"https://avatars.githubusercontent.com/u/731337?v=3","gravatar_id":"","url":"https://api.github.com/users/christian-bromann","html_url":"https://github.com/christian-bromann","followers_url":"https://api.github.com/users/christian-bromann/followers","following_url":"https://api.github.com/users/christian-bromann/following{/other_user}","gists_url":"https://api.github.com/users/christian-bromann/gists{/gist_id}","starred_url":"https://api.github.com/users/christian-bromann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/christian-bromann/subscriptions","organizations_url":"https://api.github.com/users/christian-bromann/orgs","repos_url":"https://api.github.com/users/christian-bromann/repos","events_url":"https://api.github.com/users/christian-bromann/events{/privacy}","received_events_url":"https://api.github.com/users/christian-bromann/received_events","type":"User","site_admin":false},"created_at":"2015-10-06T21:49:17Z","updated_at":"2015-10-06T21:49:17Z","body":":+1: "}}