Nicolò Ribaudo ea6a438315
Enable external-helpers by default in tests (#12911)
Co-authored-by: Huáng Jùnliàng <jlhwung@gmail.com>
Co-authored-by: Babel Bot <babel-bot@users.noreply.github.com>
2021-02-26 23:33:26 +01:00

13 lines
247 B
JavaScript

(function () {
var _poll = babelHelpers.asyncToGenerator(function* () {
console.log(yield Promise.resolve('Hello'));
setTimeout(poll, 1000);
});
function poll() {
return _poll.apply(this, arguments);
}
return poll;
})()();