diff --git a/tools/transpiler/spec/classes_spec.js b/tools/transpiler/spec/classes_spec.js index c518c2dfc6..d03fd3aa3b 100644 --- a/tools/transpiler/spec/classes_spec.js +++ b/tools/transpiler/spec/classes_spec.js @@ -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); diff --git a/tools/transpiler/spec/reexport.js b/tools/transpiler/spec/reexport.js index b7ad04b0f6..c7b8a12d63 100644 --- a/tools/transpiler/spec/reexport.js +++ b/tools/transpiler/spec/reexport.js @@ -1,10 +1,6 @@ import {Baz} from './baz'; import {Bar1} from './bar'; +export {Baz} from './baz'; + var localVar = true; - -export {Baz, localVar, Bar1}; - -// Will become: -// export {Baz} from './baz'; -// export {Bar1} from './bar'; diff --git a/tools/transpiler/spec/types_spec.js b/tools/transpiler/spec/types_spec.js index 4a13028e75..c738dd86a0 100644 --- a/tools/transpiler/spec/types_spec.js +++ b/tools/transpiler/spec/types_spec.js @@ -42,11 +42,7 @@ class Foo { } typedVariables() { - // TODO(vojta): test this var foo:string = 'foo'; - var typed:boolean, untyped; - var oneTyped:string = 'one', - another: boolean = true; } }