remove this shorthand playground tests

This commit is contained in:
Sebastian McKenzie 2015-02-13 15:04:33 +11:00
parent 91b79e9178
commit 04c64c4592

View File

@ -4,74 +4,6 @@ if (typeof exports != "undefined") {
var testAssert = require("./driver.js").testAssert; var testAssert = require("./driver.js").testAssert;
} }
// This shorthand
test("@foo", {
"type": "Program",
"start": 0,
"end": 4,
"body": [
{
"type": "ExpressionStatement",
"start": 0,
"end": 4,
"expression": {
"type": "MemberExpression",
"start": 0,
"end": 4,
"object": {
"type": "ThisExpression"
},
"property": {
"type": "Identifier",
"start": 1,
"end": 4,
"name": "foo"
},
"computed": false
}
}
]
}, {
playground: true
});
test("@foo();", {
"type": "Program",
"start": 0,
"end": 7,
"body": [
{
"type": "ExpressionStatement",
"start": 0,
"end": 7,
"expression": {
"type": "MemberExpression",
"start": 0,
"end": 6,
"object": {
"type": "ThisExpression"
},
"property": {
"type": "CallExpression",
"start": 0,
"end": 6,
"callee": {
"type": "Identifier",
"start": 1,
"end": 4,
"name": "foo"
},
"arguments": []
},
"computed": false
}
}
]
}, {
playground: true
});
// Object getter memoisation // Object getter memoisation
test("class Foo { memo bar() {} }", { test("class Foo { memo bar() {} }", {