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,6 +1,5 @@
{
"plugins": [
"external-helpers",
"transform-function-name",
"transform-classes",
["proposal-decorators", { "legacy": true }],

View File

@@ -1,6 +1,5 @@
{
"plugins": [
"external-helpers",
"transform-function-name",
"transform-modules-commonjs",
"transform-classes",

View File

@@ -7,14 +7,10 @@ exports.default = void 0;
var _store = require("./store");
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = babelHelpers.getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = babelHelpers.getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return babelHelpers.possibleConstructorReturn(this, result); }; }
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
let Login = /*#__PURE__*/function (_React$Component) {
babelHelpers.inherits(Login, _React$Component);
var _super = _createSuper(Login);
var _super = babelHelpers.createSuper(Login);
function Login() {
babelHelpers.classCallCheck(this, Login);

View File

@@ -1,6 +1,5 @@
{
"plugins": [
"external-helpers",
"transform-function-name",
"transform-modules-commonjs",
"transform-classes",

View File

@@ -1,6 +1,5 @@
{
"plugins": [
"external-helpers",
"transform-function-name",
"transform-classes",
["proposal-decorators", { "legacy": true }]

View File

@@ -1,6 +1,5 @@
{
"plugins": [
"external-helpers",
"transform-function-name",
["transform-arrow-functions", { "spec": true }]
]

View File

@@ -1,7 +1,3 @@
{
"plugins": [
"external-helpers",
"transform-function-name",
"transform-arrow-functions"
]
"plugins": ["transform-function-name", "transform-arrow-functions"]
}

View File

@@ -1,3 +1,3 @@
{
"plugins": ["external-helpers", "transform-function-name"]
"plugins": ["transform-function-name"]
}

View File

@@ -1,3 +1,3 @@
{
"plugins": ["external-helpers", "transform-function-name"]
"plugins": ["transform-function-name"]
}