Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix some test fixtures #11655

Merged
merged 1 commit into from May 31, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Expand Up @@ -4,6 +4,12 @@ var id = 0;

function _classPrivateFieldLooseKey(name) { return "__private_" + id++ + "_" + name; }

var _x = _classPrivateFieldLooseKey("x");

var _m = _classPrivateFieldLooseKey("m");

var _self = _classPrivateFieldLooseKey("self");

class Foo {
static getSelf() {
return this;
Expand Down Expand Up @@ -71,12 +77,6 @@ class Foo {

}

var _x = _classPrivateFieldLooseKey("x");

var _m = _classPrivateFieldLooseKey("m");

var _self = _classPrivateFieldLooseKey("self");

Object.defineProperty(Foo, _x, {
writable: true,
value: 1
Expand Down
Expand Up @@ -4,6 +4,12 @@ var id = 0;

function _classPrivateFieldLooseKey(name) { return "__private_" + id++ + "_" + name; }

var _x = _classPrivateFieldLooseKey("x");

var _m = _classPrivateFieldLooseKey("m");

var _self = _classPrivateFieldLooseKey("self");

class Foo {
static getSelf() {
return this;
Expand Down Expand Up @@ -71,12 +77,6 @@ class Foo {

}

var _x = _classPrivateFieldLooseKey("x");

var _m = _classPrivateFieldLooseKey("m");

var _self = _classPrivateFieldLooseKey("self");

Object.defineProperty(Foo, _x, {
writable: true,
value: 1
Expand Down
Expand Up @@ -4,6 +4,10 @@ var id = 0;

function _classPrivateFieldLooseKey(name) { return "__private_" + id++ + "_" + name; }

var _x = _classPrivateFieldLooseKey("x");

var _self = _classPrivateFieldLooseKey("self");

class Foo {
static getSelf() {
return this;
Expand Down Expand Up @@ -71,10 +75,6 @@ class Foo {

}

var _x = _classPrivateFieldLooseKey("x");

var _self = _classPrivateFieldLooseKey("self");

Object.defineProperty(Foo, _x, {
writable: true,
value: 1
Expand Down
Expand Up @@ -4,6 +4,10 @@ var id = 0;

function _classPrivateFieldLooseKey(name) { return "__private_" + id++ + "_" + name; }

var _x = _classPrivateFieldLooseKey("x");

var _self = _classPrivateFieldLooseKey("self");

class Foo {
static getSelf() {
return this;
Expand Down Expand Up @@ -71,10 +75,6 @@ class Foo {

}

var _x = _classPrivateFieldLooseKey("x");

var _self = _classPrivateFieldLooseKey("self");

Object.defineProperty(Foo, _x, {
writable: true,
value: 1
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Expand Up @@ -4,6 +4,12 @@ var id = 0;

function _classPrivateFieldLooseKey(name) { return "__private_" + id++ + "_" + name; }

var _x = _classPrivateFieldLooseKey("x");

var _m = _classPrivateFieldLooseKey("m");

var _self = _classPrivateFieldLooseKey("self");

class Foo {
static getSelf() {
return this;
Expand Down Expand Up @@ -74,12 +80,6 @@ class Foo {

}

var _x = _classPrivateFieldLooseKey("x");

var _m = _classPrivateFieldLooseKey("m");

var _self = _classPrivateFieldLooseKey("self");

Object.defineProperty(Foo, _x, {
writable: true,
value: 1
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Expand Up @@ -4,6 +4,12 @@ var id = 0;

function _classPrivateFieldLooseKey(name) { return "__private_" + id++ + "_" + name; }

var _x = _classPrivateFieldLooseKey("x");

var _m = _classPrivateFieldLooseKey("m");

var _self = _classPrivateFieldLooseKey("self");

class Foo {
static getSelf() {
return this;
Expand Down Expand Up @@ -74,12 +80,6 @@ class Foo {

}

var _x = _classPrivateFieldLooseKey("x");

var _m = _classPrivateFieldLooseKey("m");

var _self = _classPrivateFieldLooseKey("self");

Object.defineProperty(Foo, _x, {
writable: true,
value: 1
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Expand Up @@ -4,6 +4,10 @@ var id = 0;

function _classPrivateFieldLooseKey(name) { return "__private_" + id++ + "_" + name; }

var _x = _classPrivateFieldLooseKey("x");

var _self = _classPrivateFieldLooseKey("self");

class Foo {
static getSelf() {
return this;
Expand Down Expand Up @@ -74,10 +78,6 @@ class Foo {

}

var _x = _classPrivateFieldLooseKey("x");

var _self = _classPrivateFieldLooseKey("self");

Object.defineProperty(Foo, _x, {
writable: true,
value: 1
Expand Down
@@ -1,3 +1,5 @@
var _foo = babelHelpers.classPrivateFieldLooseKey("foo");

let Foo = /*#__PURE__*/function () {
"use strict";

Expand All @@ -18,6 +20,4 @@ let Foo = /*#__PURE__*/function () {
return Foo;
}();

var _foo = babelHelpers.classPrivateFieldLooseKey("foo");

var _get_foo = function () {};
@@ -1,3 +1,5 @@
var _foo = babelHelpers.classPrivateFieldLooseKey("foo");

let Foo = /*#__PURE__*/function () {
"use strict";

Expand All @@ -17,5 +19,3 @@ let Foo = /*#__PURE__*/function () {
}]);
return Foo;
}();

var _foo = babelHelpers.classPrivateFieldLooseKey("foo");
@@ -1,3 +1,5 @@
var _foo = babelHelpers.classPrivateFieldLooseKey("foo");

let Foo = /*#__PURE__*/function () {
"use strict";

Expand All @@ -17,6 +19,4 @@ let Foo = /*#__PURE__*/function () {
return Foo;
}();

var _foo = babelHelpers.classPrivateFieldLooseKey("foo");

var _foo2 = function _foo2() {};
@@ -1,3 +1,5 @@
var _bar = new WeakMap();

class Foo {
constructor() {
_bar.set(this, {
Expand All @@ -16,8 +18,6 @@ class Foo {

}

var _bar = new WeakMap();

var _foo = {
writable: true,
value: "foo"
Expand Down
@@ -1,3 +1,7 @@
var _foo = babelHelpers.classPrivateFieldLooseKey("foo");

var _bar = babelHelpers.classPrivateFieldLooseKey("bar");

let Foo = /*#__PURE__*/function () {
"use strict";

Expand All @@ -16,6 +20,8 @@ let Foo = /*#__PURE__*/function () {
babelHelpers.createClass(Foo, [{
key: "test",
value: function test() {
var _bar2 = babelHelpers.classPrivateFieldLooseKey("bar");

let Nested = /*#__PURE__*/function () {
function Nested() {
babelHelpers.classCallCheck(this, Nested);
Expand All @@ -35,15 +41,9 @@ let Foo = /*#__PURE__*/function () {
return Nested;
}();

var _bar2 = babelHelpers.classPrivateFieldLooseKey("bar");

Object.prototype.hasOwnProperty.call(this, _foo);
Object.prototype.hasOwnProperty.call(this, _bar);
}
}]);
return Foo;
}();

var _foo = babelHelpers.classPrivateFieldLooseKey("foo");

var _bar = babelHelpers.classPrivateFieldLooseKey("bar");
@@ -1,3 +1,5 @@
var _foo = babelHelpers.classPrivateFieldLooseKey("foo");

let Foo = /*#__PURE__*/function () {
"use strict";

Expand All @@ -12,6 +14,8 @@ let Foo = /*#__PURE__*/function () {
babelHelpers.createClass(Foo, [{
key: "test",
value: function test() {
var _foo2 = babelHelpers.classPrivateFieldLooseKey("foo");

let Nested = /*#__PURE__*/function () {
function Nested() {
babelHelpers.classCallCheck(this, Nested);
Expand All @@ -30,12 +34,8 @@ let Foo = /*#__PURE__*/function () {
return Nested;
}();

var _foo2 = babelHelpers.classPrivateFieldLooseKey("foo");

Object.prototype.hasOwnProperty.call(this, _foo);
}
}]);
return Foo;
}();

var _foo = babelHelpers.classPrivateFieldLooseKey("foo");
@@ -1,3 +1,5 @@
var _foo = babelHelpers.classPrivateFieldLooseKey("foo");

let Foo = /*#__PURE__*/function () {
"use strict";

Expand Down Expand Up @@ -31,5 +33,3 @@ let Foo = /*#__PURE__*/function () {
}]);
return Foo;
}();

var _foo = babelHelpers.classPrivateFieldLooseKey("foo");
@@ -1,3 +1,5 @@
var _foo = babelHelpers.classPrivateFieldLooseKey("foo");

let Foo = /*#__PURE__*/function () {
"use strict";

Expand All @@ -14,8 +16,6 @@ let Foo = /*#__PURE__*/function () {
return Foo;
}();

var _foo = babelHelpers.classPrivateFieldLooseKey("foo");

var _get_foo = function () {};

Object.defineProperty(Foo, _foo, {
Expand Down
@@ -1,3 +1,5 @@
var _foo = babelHelpers.classPrivateFieldLooseKey("foo");

let Foo = /*#__PURE__*/function () {
"use strict";

Expand All @@ -14,8 +16,6 @@ let Foo = /*#__PURE__*/function () {
return Foo;
}();

var _foo = babelHelpers.classPrivateFieldLooseKey("foo");

Object.defineProperty(Foo, _foo, {
writable: true,
value: 1
Expand Down