Skip to content

Commit

Permalink
fix(test): Android browser does not support element.click()
Browse files Browse the repository at this point in the history
  • Loading branch information
marclaval committed Sep 15, 2015
1 parent 3a7b50f commit c83207f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/angular2/test/core/compiler/integration_spec.ts
Expand Up @@ -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();
Expand Down

0 comments on commit c83207f

Please sign in to comment.