Remove transform-classes from priv method tests (#9537)

This commit is contained in:
Tim McClure
2019-02-18 13:57:29 -05:00
committed by Nicolò Ribaudo
parent bbb4d7b6d7
commit f44b29522c
23 changed files with 259 additions and 350 deletions

View File

@@ -1,12 +1,11 @@
var Foo = function Foo() {
"use strict";
class Foo {
constructor() {
_privateMethod.add(this);
babelHelpers.classCallCheck(this, Foo);
this.publicField = babelHelpers.classPrivateMethodGet(this, _privateMethod, _privateMethod2).call(this);
}
_privateMethod.add(this);
this.publicField = babelHelpers.classPrivateMethodGet(this, _privateMethod, _privateMethod2).call(this);
};
}
var _privateMethod = new WeakSet();