mirror of
https://github.com/hanzoai/babel.git
synced 2026-09-24 16:56:45 +00:00
* Add a test
* Revert "Improve output when wrapping functions (e.g. `async` functions) (#15922)"
This reverts commit f64c854415.
* Update snapshot
13 lines
306 B
JavaScript
13 lines
306 B
JavaScript
function g() {
|
|
return _g.apply(this, arguments);
|
|
}
|
|
function _g() {
|
|
_g = babelHelpers.wrapAsyncGenerator(function* (x = /*#__PURE__*/babelHelpers.asyncToGenerator(function* () {
|
|
yield 1;
|
|
})) {
|
|
yield babelHelpers.awaitAsyncGenerator(2);
|
|
yield 3;
|
|
});
|
|
return _g.apply(this, arguments);
|
|
}
|