Skip to content

Commit

Permalink
chore: Update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Austaras committed Nov 30, 2021
1 parent e5fd4b8 commit 07b6847
Show file tree
Hide file tree
Showing 130 changed files with 1,127 additions and 968 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// @target: es2017
// @noEmitHelpers: true
function f(param) {
var _await = param === void 0 ? _await : param;
function f() {
var _await = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : _await;
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// @target: es2017
// @noEmitHelpers: true
function f(param) {
var _await = param === void 0 ? _await : param;
function f() {
var _await = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : _await;
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// @target: ES5
// @lib: es5,es2015.promise
// @noEmitHelpers: true
function f(param) {
var _await = param === void 0 ? _await : param;
function f() {
var _await = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : _await;
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// @target: ES5
// @lib: es5,es2015.promise
// @noEmitHelpers: true
function f(param) {
var _await = param === void 0 ? _await : param;
function f() {
var _await = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : _await;
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// @target: ES6
// @noEmitHelpers: true
function f(param) {
var _await = param === void 0 ? _await : param;
function f() {
var _await = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : _await;
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// @target: ES6
// @noEmitHelpers: true
function f(param) {
var _await = param === void 0 ? _await : param;
function f() {
var _await = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : _await;
}
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ var C = function C() {
var C;
})();
var x = "";
(function(param, param1) {
(function(param) {
var tmp = param[/*#__PURE__*/ (_class1 = function(C) {
"use strict";
_inherits(_class, C);
Expand All @@ -98,6 +98,6 @@ var x = "";
return _super.apply(this, arguments);
}
return _class;
}(C), _class1.x = 1, _class1).x], b = tmp === void 0 ? "" : tmp, d = param1 === void 0 ? x : param1;
}(C), _class1.x = 1, _class1).x], b = tmp === void 0 ? "" : tmp, d = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : x;
var x1;
})();
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ var _class, _class1, C = function() {
}
return _class;
})(C)).x = 1, _class).x];
}(), (function(param, param1) {
}(), (function(param) {
(void 0)[((_class1 = (function(C) {
"use strict";
_inherits(_class, C);
Expand All @@ -68,5 +68,5 @@ var _class, _class1, C = function() {
return _classCallCheck(this, _class), _super.apply(this, arguments);
}
return _class;
})(C)).x = 1, _class1).x];
})(C)).x = 1, _class1).x], arguments.length > 1 && void 0 !== arguments[1] && arguments[1];
})();
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ var C = function C() {
var C;
})();
var x = "";
(function(param, param1) {
(function(param) {
var tmp = param[/*#__PURE__*/ (_class1 = function(C) {
"use strict";
_inherits(_class, C);
Expand All @@ -98,6 +98,6 @@ var x = "";
return _super.apply(this, arguments);
}
return _class;
}(C), _class1.x = 1, _class1).x], b = tmp === void 0 ? "" : tmp, d = param1 === void 0 ? x : param1;
}(C), _class1.x = 1, _class1).x], b = tmp === void 0 ? "" : tmp, d = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : x;
var x1;
})();
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ var _class, _class1, C = function() {
}
return _class;
})(C)).x = 1, _class).x];
}(), (function(param, param1) {
}(), (function(param) {
(void 0)[((_class1 = (function(C) {
"use strict";
_inherits(_class, C);
Expand All @@ -68,5 +68,5 @@ var _class, _class1, C = function() {
return _classCallCheck(this, _class), _super.apply(this, arguments);
}
return _class;
})(C)).x = 1, _class1).x];
})(C)).x = 1, _class1).x], arguments.length > 1 && void 0 !== arguments[1] && arguments[1];
})();
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,8 @@ var C = function C() {
"use strict";
_classCallCheck(this, C);
};
(function(param) {
var b = param === void 0 ? (_class2 = /*#__PURE__*/ function(C) {
(function() {
var b = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : (_class2 = /*#__PURE__*/ function(C) {
"use strict";
_inherits(_class, C);
var _super = _createSuper(_class);
Expand All @@ -84,12 +84,12 @@ var C = function C() {
return _super.apply(this, arguments);
}
return _class;
}(C), _class2.x = 1, _class2) : param;
}(C), _class2.x = 1, _class2);
var C1;
})();
var x = "";
(function(param, param1) {
var b = param === void 0 ? (_class1 = /*#__PURE__*/ function(C) {
(function() {
var b = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : (_class1 = /*#__PURE__*/ function(C) {
"use strict";
_inherits(_class, C);
var _super = _createSuper(_class);
Expand All @@ -98,6 +98,6 @@ var x = "";
return _super.apply(this, arguments);
}
return _class;
}(C), _class1.x = 1, _class1) : param, d = param1 === void 0 ? x : param1;
}(C), _class1.x = 1, _class1), d = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : x;
var x1;
})();
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ var _class2, _class1, C1 = function() {
"use strict";
_classCallCheck(this, C1);
};
!function(param) {
(_class2 = (function(C) {
!function() {
arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : (_class2 = (function(C) {
"use strict";
_inherits(_class, C);
var _super = _createSuper(_class);
Expand All @@ -59,14 +59,14 @@ var _class2, _class1, C1 = function() {
}
return _class;
})(C1)).x = 1;
}(), (function(param, param1) {
(_class1 = (function(C) {
}(), (function() {
arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : (_class1 = (function(C) {
"use strict";
_inherits(_class, C);
var _super = _createSuper(_class);
function _class() {
return _classCallCheck(this, _class), _super.apply(this, arguments);
}
return _class;
})(C1)).x = 1;
})(C1)).x = 1, arguments.length > 1 && void 0 !== arguments[1] && arguments[1];
})();
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,8 @@ var C = function C() {
"use strict";
_classCallCheck(this, C);
};
(function(param) {
var b = param === void 0 ? (_class2 = /*#__PURE__*/ function(C) {
(function() {
var b = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : (_class2 = /*#__PURE__*/ function(C) {
"use strict";
_inherits(_class, C);
var _super = _createSuper(_class);
Expand All @@ -84,12 +84,12 @@ var C = function C() {
return _super.apply(this, arguments);
}
return _class;
}(C), _class2.x = 1, _class2) : param;
}(C), _class2.x = 1, _class2);
var C1;
})();
var x = "";
(function(param, param1) {
var b = param === void 0 ? (_class1 = /*#__PURE__*/ function(C) {
(function() {
var b = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : (_class1 = /*#__PURE__*/ function(C) {
"use strict";
_inherits(_class, C);
var _super = _createSuper(_class);
Expand All @@ -98,6 +98,6 @@ var x = "";
return _super.apply(this, arguments);
}
return _class;
}(C), _class1.x = 1, _class1) : param, d = param1 === void 0 ? x : param1;
}(C), _class1.x = 1, _class1), d = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : x;
var x1;
})();
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ var _class2, _class1, C1 = function() {
"use strict";
_classCallCheck(this, C1);
};
!function(param) {
(_class2 = (function(C) {
!function() {
arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : (_class2 = (function(C) {
"use strict";
_inherits(_class, C);
var _super = _createSuper(_class);
Expand All @@ -59,14 +59,14 @@ var _class2, _class1, C1 = function() {
}
return _class;
})(C1)).x = 1;
}(), (function(param, param1) {
(_class1 = (function(C) {
}(), (function() {
arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : (_class1 = (function(C) {
"use strict";
_inherits(_class, C);
var _super = _createSuper(_class);
function _class() {
return _classCallCheck(this, _class), _super.apply(this, arguments);
}
return _class;
})(C1)).x = 1;
})(C1)).x = 1, arguments.length > 1 && void 0 !== arguments[1] && arguments[1];
})();
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ var _class1;
// @target: esnext,es2015,es5
// @noTypesAndSymbols: true
// https://github.com/microsoft/TypeScript/issues/36295
(function(param) {
var b = param === void 0 ? (_class1 = function _class() {
(function() {
var b = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : (_class1 = function _class() {
"use strict";
_classCallCheck(this, _class);
}, _class1.x = 1, _class1) : param;
}, _class1.x = 1, _class1);
})();
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
(function _class() {
"use strict";
!function(instance, Constructor) {
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
}(this, _class);
}).x = 1;
var _class1;
!function() {
arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : (_class1 = function _class() {
"use strict";
!function(instance, Constructor) {
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
}(this, _class);
}).x = 1;
}();
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,19 @@ function _classCallCheck(instance, Constructor) {
throw new TypeError("Cannot call a class as a function");
}
}
var C = function C(param) {
var C = function C() {
"use strict";
var x = param === void 0 ? this : param;
var x = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : this;
_classCallCheck(this, C);
};
var D = function D(param) {
var D = function D() {
"use strict";
var x = param === void 0 ? this : param;
var x = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : this;
_classCallCheck(this, D);
};
var E = function E(param) {
var E = function E() {
"use strict";
var x = param === void 0 ? this : param;
var x = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : this;
_classCallCheck(this, E);
this.x = x;
};
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
function _classCallCheck(instance, Constructor) {
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
}
var C = function(param) {
var C = function() {
"use strict";
_classCallCheck(this, C);
}, D = function(param) {
arguments.length > 0 && void 0 !== arguments[0] && arguments[0], _classCallCheck(this, C);
}, D = function() {
"use strict";
_classCallCheck(this, D);
}, E = function(param) {
arguments.length > 0 && void 0 !== arguments[0] && arguments[0], _classCallCheck(this, D);
}, E = function() {
"use strict";
_classCallCheck(this, E), this.x = void 0 === param ? this : param;
var x = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : this;
_classCallCheck(this, E), this.x = x;
};
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,21 @@ function _classCallCheck(instance, Constructor) {
throw new TypeError("Cannot call a class as a function");
}
}
var C = function C(param) {
var C = function C() {
"use strict";
var x = param === void 0 ? 1 : param;
var x = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : 1;
_classCallCheck(this, C);
var y = x;
};
var D = function D(param) {
var D = function D() {
"use strict";
var x = param === void 0 ? null : param;
var x = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : null;
_classCallCheck(this, D);
var y = x;
};
var E = function E(param) {
var E = function E() {
"use strict";
var x = param === void 0 ? null : param;
var x = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : null;
_classCallCheck(this, E);
var y = x;
};
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
function _classCallCheck(instance, Constructor) {
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
}
var C = function(param) {
var C = function() {
"use strict";
_classCallCheck(this, C), void 0 === param;
}, D = function(param) {
arguments.length > 0 && void 0 !== arguments[0] && arguments[0], _classCallCheck(this, C);
}, D = function() {
"use strict";
_classCallCheck(this, D), void 0 === param;
}, E = function(param) {
arguments.length > 0 && void 0 !== arguments[0] && arguments[0], _classCallCheck(this, D);
}, E = function() {
"use strict";
_classCallCheck(this, E), void 0 === param;
arguments.length > 0 && void 0 !== arguments[0] && arguments[0], _classCallCheck(this, E);
};
Original file line number Diff line number Diff line change
Expand Up @@ -3,23 +3,23 @@ function _classCallCheck(instance, Constructor) {
throw new TypeError("Cannot call a class as a function");
}
}
var C = function C(param) {
var C = function C() {
"use strict";
var x = param === void 0 ? 1 : param;
var x = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : 1;
_classCallCheck(this, C);
this.x = x;
var y = x;
};
var D = function D(param, param1) {
var D = function D() {
"use strict";
var x = param === void 0 ? 1 : param, y = param1 === void 0 ? x : param1;
var x = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : 1, y = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : x;
_classCallCheck(this, D);
this.y = y;
var z = x;
};
var E = function E(param) {
var E = function E() {
"use strict";
var x = param === void 0 ? new Date() : param;
var x = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : new Date();
_classCallCheck(this, E);
var y = x;
};
Loading

0 comments on commit 07b6847

Please sign in to comment.