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>
This commit is contained in:
@@ -1,9 +1,3 @@
|
||||
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
||||
|
||||
function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; _setPrototypeOf(subClass, superClass); }
|
||||
|
||||
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
||||
|
||||
let B = function B() {
|
||||
"use strict";
|
||||
};
|
||||
@@ -11,13 +5,13 @@ let B = function B() {
|
||||
let A = /*#__PURE__*/function (_B) {
|
||||
"use strict";
|
||||
|
||||
_inheritsLoose(A, _B);
|
||||
babelHelpers.inheritsLoose(A, _B);
|
||||
|
||||
function A(track) {
|
||||
var _this;
|
||||
|
||||
if (track !== undefined) _this = _B.call(this, track) || this;else _this = _B.call(this) || this;
|
||||
return _assertThisInitialized(_this);
|
||||
return babelHelpers.assertThisInitialized(_this);
|
||||
}
|
||||
|
||||
return A;
|
||||
|
||||
Reference in New Issue
Block a user