fix(traceur): Fix a couple of unsupported or incorrect tests.

This commit is contained in:
Martin Probst
2015-04-03 11:54:56 -07:00
parent 17e8857efc
commit 3285ffba16
3 changed files with 2 additions and 16 deletions

View File

@ -24,7 +24,6 @@ class SubFoo extends Foo {
}
}
@CONST
class ConstClass {}
class Const {
@ -77,11 +76,6 @@ export function main() {
expect(subConst.b).toBe(2);
});
it('@CONST on class without constructor should generate const constructor', function () {
var constClass = new ConstClass();
expect(constClass).not.toBe(null);
});
describe('inheritance', function() {
it('should support super call', function () {
var subFoo = new SubFoo(1, 2);