diff --git a/modules/angular2/test/core/compiler/integration_spec.ts b/modules/angular2/test/core/compiler/integration_spec.ts index f08c0dfe84..fe8199de81 100644 --- a/modules/angular2/test/core/compiler/integration_spec.ts +++ b/modules/angular2/test/core/compiler/integration_spec.ts @@ -1703,7 +1703,7 @@ export function main() { var dir = rootTC.debugElement.componentViewChildren[0].inject( DirectiveWithPropDecorators); var native = rootTC.debugElement.componentViewChildren[0].nativeElement; - native.click(); + DOM.dispatchEvent(native, DOM.createMouseEvent('click')); expect(dir.target).toBe(native); async.done();