Files
Jan JonesandGitHub 24ac865e9e Revert "Improve output when wrapping functions" (#15979)
* Add a test

* Revert "Improve output when wrapping functions (e.g. `async` functions) (#15922)"

This reverts commit f64c854415.

* Update snapshot
2023-09-16 18:09:27 +02:00

19 lines
393 B
JavaScript

function g() {
return _g.apply(this, arguments);
}
function _g() {
_g = babelHelpers.wrapAsyncGenerator(function* () {
var _this = this;
() => this;
function f() {
() => this;
}
/*#__PURE__*/babelHelpers.asyncToGenerator(function* () {
_this;
yield 1;
});
yield babelHelpers.awaitAsyncGenerator(1);
});
return _g.apply(this, arguments);
}