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:
Nicolò Ribaudo
2021-02-26 23:33:26 +01:00
committed by GitHub
parent bfd30b9445
commit ea6a438315
591 changed files with 1859 additions and 4233 deletions

View File

@@ -1,9 +1,3 @@
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
function _one() {}
function _two() {}
@@ -12,10 +6,10 @@ let Test1 = /*#__PURE__*/function () {
"use strict";
function Test1() {
_classCallCheck(this, Test1);
babelHelpers.classCallCheck(this, Test1);
}
_createClass(Test1, [{
babelHelpers.createClass(Test1, [{
key: "one",
value: function one() {
_two.call(_one, 1, 2);
@@ -26,6 +20,5 @@ let Test1 = /*#__PURE__*/function () {
_two.call(_one, 1, 2);
}
}]);
return Test1;
}();