diff --git a/modules/angular2/test/core/annotations/annotations_spec.js b/modules/angular2/test/core/annotations/annotations_spec.js index 467f01493f..e3eed904ba 100644 --- a/modules/angular2/test/core/annotations/annotations_spec.js +++ b/modules/angular2/test/core/annotations/annotations_spec.js @@ -2,7 +2,7 @@ import {ddescribe, describe, it, iit, expect, beforeEach} from 'angular2/test_li import {Directive, onChange} from 'angular2/src/core/annotations/annotations'; class DummyDirective extends Directive { - constructor({lifecycle = []} = {}) { super({lifecycle: lifecycle}); } + constructor({lifecycle} = {}) { super({lifecycle: lifecycle}); } } export function main() { diff --git a/modules/angular2/test/core/compiler/element_injector_spec.js b/modules/angular2/test/core/compiler/element_injector_spec.js index 98a7469436..03dff1b768 100644 --- a/modules/angular2/test/core/compiler/element_injector_spec.js +++ b/modules/angular2/test/core/compiler/element_injector_spec.js @@ -15,7 +15,7 @@ import {Directive} from 'angular2/src/core/annotations/annotations'; import {BindingPropagationConfig} from 'angular2/change_detection'; class DummyDirective extends Directive { - constructor({lifecycle = []} = {}) { super({lifecycle: lifecycle}); } + constructor({lifecycle} = {}) { super({lifecycle: lifecycle}); } } @proxy diff --git a/modules/angular2/test/core/compiler/view_spec.js b/modules/angular2/test/core/compiler/view_spec.js index 705e3309a9..0a1b620532 100644 --- a/modules/angular2/test/core/compiler/view_spec.js +++ b/modules/angular2/test/core/compiler/view_spec.js @@ -18,7 +18,7 @@ import {EventManager, DomEventsPlugin} from 'angular2/src/core/events/event_mana import {reflector} from 'angular2/src/reflection/reflection'; class DummyDirective extends Directive { - constructor({lifecycle = []} = {}) { super({lifecycle: lifecycle}); } + constructor({lifecycle} = {}) { super({lifecycle: lifecycle}); } } @proxy