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

11 lines
320 B
JavaScript

function foo() {
return _foo.apply(this, arguments);
}
function _foo() {
_foo = babelHelpers.wrapAsyncGenerator(babelHelpers.skipFirstGeneratorNext(function* () {
let _functionSent = yield;
_functionSent = yield babelHelpers.awaitAsyncGenerator(_functionSent);
}));
return _foo.apply(this, arguments);
}