Skip to content

Commit

Permalink
fix(testing): don't fire focus events twice
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 527701737
  • Loading branch information
material-web-copybara authored and Copybara-Service committed Apr 27, 2023
1 parent cc7bb65 commit 04d3496
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion testing/harness.ts
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,6 @@ export class Harness<E extends HTMLElement = HTMLElement> {
const element = await this.getInteractiveElement();
await this.startHover();
this.simulateMousePress(element, init);
this.simulatePointerFocus(element);
}

/**
Expand Down

0 comments on commit 04d3496

Please sign in to comment.