remove class playground property initializer tests
This commit is contained in:
parent
0e7fd0741d
commit
b606cc79ca
@ -1,7 +0,0 @@
|
||||
class MyClass {
|
||||
myProp = { someValue: 42 };
|
||||
}
|
||||
|
||||
var myClass = new MyClass;
|
||||
assert.ok(myClass.myProp !== MyClass.prototype.myProp);
|
||||
assert.equal(myClass.myProp.someValue, 42);
|
||||
@ -1,3 +0,0 @@
|
||||
{
|
||||
"playground": true
|
||||
}
|
||||
@ -1,5 +0,0 @@
|
||||
class MyClass {
|
||||
static myProp = { someValue: 42 };
|
||||
}
|
||||
|
||||
assert.equal(MyClass.myProp.someValue, 42);
|
||||
Loading…
x
Reference in New Issue
Block a user