Skip to content

Commit

Permalink
Fix some test fixtures
Browse files Browse the repository at this point in the history
  • Loading branch information
existentialism committed May 31, 2020
1 parent 30d7236 commit 607ade5
Show file tree
Hide file tree
Showing 30 changed files with 88 additions and 88 deletions.
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

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

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

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

@@ -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
@@ -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 _foo2 = function _foo2() {};

Object.defineProperty(Foo, _foo, {
Expand Down
@@ -1,3 +1,5 @@
var _foo = new WeakMap();

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

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

var _foo = new WeakMap();

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

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

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

var _foo = new WeakMap();
@@ -1,3 +1,5 @@
var _foo = new WeakSet();

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

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

var _foo = new WeakSet();

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 = new WeakMap();

var _bar = new WeakMap();

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

Expand All @@ -18,6 +22,8 @@ let Foo = /*#__PURE__*/function () {
babelHelpers.createClass(Foo, [{
key: "test",
value: function test() {
var _bar2 = new WeakMap();

let Nested = /*#__PURE__*/function () {
function Nested() {
babelHelpers.classCallCheck(this, Nested);
Expand All @@ -39,16 +45,10 @@ let Foo = /*#__PURE__*/function () {
return Nested;
}();

var _bar2 = new WeakMap();

_foo.has(this);

_bar.has(this);
}
}]);
return Foo;
}();

var _foo = new WeakMap();

var _bar = new WeakMap();

0 comments on commit 607ade5

Please sign in to comment.