Remove transform-classes from priv method tests (#9537)
This commit is contained in:
committed by
Nicolò Ribaudo
parent
bbb4d7b6d7
commit
f44b29522c
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user