Remove old expected.{js,json} files (#7187)

This commit is contained in:
Nicolò Ribaudo
2018-01-09 20:10:30 +01:00
committed by Brian Ng
parent 9e384f3915
commit 8659e1a88c
1597 changed files with 0 additions and 20188 deletions

View File

@@ -1,83 +0,0 @@
function one() {
var _arguments = arguments;
var inner = function () {
return _arguments;
};
return [].slice.call(inner());
}
one(1, 2);
function two() {
var _arguments2 = arguments;
var inner = function () {
return _arguments2;
};
var another = function () {
var _arguments3 = arguments;
var inner2 = function () {
return _arguments3;
};
};
return [].slice.call(inner());
}
two(1, 2);
function three() {
var _arguments4 = arguments;
var fn = function () {
return _arguments4[0] + "bar";
};
return fn();
}
three("foo");
function four() {
var _arguments5 = arguments;
var fn = function () {
return _arguments5[0].foo + "bar";
};
return fn();
}
four({
foo: "foo"
});
function five(obj) {
var fn = function () {
return obj.arguments[0].foo + "bar";
};
return fn();
}
five({
arguments: ["foo"]
});
function six(obj) {
var fn = function () {
var fn2 = function () {
return arguments[0];
};
return fn2("foobar");
};
return fn();
}
six();

View File

@@ -1,10 +0,0 @@
var some = function () {
let count = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : "30";
console.log("count", count);
};
var collect = function () {
let since = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 0;
let userid = arguments.length > 1 ? arguments[1] : undefined;
console.log(userid);
};

View File

@@ -1,8 +0,0 @@
var a = function (_ref) {
let target = _ref.target;
return console.log(target);
};
a({
target: "I am a target"
});

View File

@@ -1,3 +0,0 @@
var t = function () {
return 5 + 5;
};

View File

@@ -1,3 +0,0 @@
arr.map(function (x) {
return x * x;
});

View File

@@ -1,3 +0,0 @@
arr.map(function (i) {
return i + 1;
});

View File

@@ -1,3 +0,0 @@
var t = function (i, x) {
return i * x;
};

View File

@@ -1,16 +0,0 @@
module.exports = {
init: function () {
var _this = this;
return new Promise(function (resolve, reject) {
MongoClient.connect(config.mongodb, function (err, db) {
if (err) {
return reject(err);
}
_this.db = db;
resolve(_this);
});
});
}
};

View File

@@ -1,3 +0,0 @@
var t = function (i) {
return i * 5;
};

View File

@@ -1,16 +0,0 @@
var fooCalls = [];
var jumpTable = function jumpTable(name, arg) {
if (jumpTable[name]) {
jumpTable[name](arg);
}
};
Object.assign(jumpTable, {
foo(arg) {
fooCalls.push(arg);
}
});
jumpTable('foo', 'bar');
assert.strictEqual(fooCalls[0], 'bar');

View File

@@ -1,3 +0,0 @@
var t = function (i) {
return i * 5;
};

View File

@@ -1,18 +0,0 @@
var _this = this;
[].map(function (x) {
babelHelpers.newArrowCheck(this, _this);
return x;
}.bind(this));
const f = function f(x) {
babelHelpers.newArrowCheck(this, _this);
return x;
}.bind(this);
const o = {
k: function k(x) {
babelHelpers.newArrowCheck(this, _this);
return x;
}.bind(this)
};

View File

@@ -1,22 +0,0 @@
var _this = this;
var fooCalls = [];
var _jumpTable = function jumpTable(name, arg) {
babelHelpers.newArrowCheck(this, _this);
if (_jumpTable[name]) {
_jumpTable[name](arg);
}
}.bind(this);
Object.assign(_jumpTable, {
foo(arg) {
fooCalls.push(arg);
}
});
_jumpTable('foo', 'bar');
assert.strictEqual(fooCalls[0], 'bar');

View File

@@ -1,29 +0,0 @@
function foo() {
var _this = this;
arr.map(function (x) {
babelHelpers.newArrowCheck(this, _this);
return x * x;
}.bind(this));
var f = function f(x, y) {
babelHelpers.newArrowCheck(this, _this);
return x * y;
}.bind(this);
(function () {
var _this2 = this;
return function () {
babelHelpers.newArrowCheck(this, _this2);
return this;
}.bind(this);
})();
return {
g: function g() {
babelHelpers.newArrowCheck(this, _this);
return this;
}.bind(this)
};
}

View File

@@ -1,5 +0,0 @@
nums.forEach(function (v) {
if (v % 5 === 0) {
fives.push(v);
}
});

View File

@@ -1,25 +0,0 @@
function b() {
var _this = this;
var t = function (x) {
return _this.x + x;
};
}
class Foo extends function () {} {
constructor() {
var _this2;
var foo = function () {
return _this2;
};
if (true) {
console.log(_this2 = super(), foo());
} else {
_this2 = super();
console.log(foo());
}
}
}